News:

Bored?  Looking to kill some time?  Want to chat with other SMF users?  Join us in IRC chat or Discord

Main Menu

RSS Feeder

Started by SlammedDime, January 11, 2009, 06:06:42 AM

Previous topic - Next topic

steve51184

also is there anyway to filter out posts i don't want? like lets say anything with the word "something here" won't get posted?

not sure if it can be done with 'rss feeder' but any other mod etc?

steve51184

Quote from: Spuds on February 13, 2010, 01:41:02 PM
Quote from: zx71 on February 13, 2010, 12:31:51 PM
wow amazing post but just so you know it's $message and not $message_body

i used just

Quote$message = $body . "\n";

that gives me just the good stuff :)
Glad it helped ....

The idea is to form the $message with the various building blocks defined, for your case you would change the last line to be:

$message = $message_body . "\n"; 

but what you did has the same effect for your case.

right i'm having a problem with formatting on some feeds

i've tried this:

$message = $message_body . "\n";
or
$message = $body . "\n"; 


but my feeds should looks like this

Quoteline one
line two
line three

but they look like this when being posted

Quoteline oneline twoline three

also it only does it on some feeds

steve51184

any help with my above post?

SoLoGHoST

Ok, I didn't follow all of your threads on this, but perhaps try 1 of these methods instead:

$message = $message_body . "<br />";
or
$message = $body . "<br />";


OR
$message = "<p>" . $message_body . "</p>";
or
$message = "<p>" . $body . "</p>";


OR
$message = "<div>" . $message_body . "</div>";
or
$message = "<div>" . $body . "</div>";


Perhaps 1 of those methods will work.  Good Luck.

imrich

Any update in the works for RC3 or should we just use 'simulate'?

More-to-life

Straight forward install on to RC3 & works fine
UK Bike Forum - The biggest motorcycle forum magazine in Wales UK.
Gear Up Magazine - Gear Up Motorcycle Magazine.
United Bikers UK Motorcycle Forum - A Brand New UK Bike Forum.
Used Cars South Wales - Search For Your Next Used Car In Laleston, Bridgend, South Wales.
Bikers Of Wales Motorcycle Website - Motorbike Info
Honda - Honda UK

GreenMotion

It installs just fine as long as you tell SMF to emulate RC2. Otherwise you'll get a message stating it is incompatible.

More-to-life

Quote from: GreenMotion on March 10, 2010, 12:41:34 PM
It installs just fine as long as you tell SMF to emulate RC2. Otherwise you'll get a message stating it is incompatible.
Thats strange as my install was straight forward ah well
UK Bike Forum - The biggest motorcycle forum magazine in Wales UK.
Gear Up Magazine - Gear Up Motorcycle Magazine.
United Bikers UK Motorcycle Forum - A Brand New UK Bike Forum.
Used Cars South Wales - Search For Your Next Used Car In Laleston, Bridgend, South Wales.
Bikers Of Wales Motorcycle Website - Motorbike Info
Honda - Honda UK

hartiberlin

I also had to set emulate mode for RC2.
Only then it installed on a fresh new domain with SMF 2.0RC3 / PortaMX 0.980

SlammedDime

I haven't had time to actually make updates to the mod, but I will at least make the package compatible with RC3
SlammedDime
Former Lead Customizer
BitBucket Projects
GeekStorage.com Hosting
                      My Mods
SimpleSEF
Ajax Quick Reply
Sitemap
more...
                     

TheListener

Hi SD

As someone whom aint got a clue about RSS as a guess would I be right in saying this mod will add feeds to anywhere in the forum?


Sabre™

That is correct Brack.
The feed(s) will be added to which ever board(s) you select in the AP.

@ SlammedDime
Is it possible to cancel the links from the feeds, and make them just plain text?
The link back to the site is shown in the source: section anyway.
eg. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam SIMPLE MACHINES FORUM nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam era.

So the SIMPLE MACHINES FORUM link would be text instead of a link.
Thanks for your time mate :)
Do NOT give admin and/or ftp details to just anybody, see if they are trust worthy first!!  Do your homework ;)


TheListener

Following on from the previous post made.

How do you do it?


Walgermo

Hi

I am getting a lot of errors every time RSS Feeder fetches feeds, but it still works..

The error i get is:
Quote8192: Assigning the return value of new by reference is deprecated
/httpd.www/Sources/Subs-Rss.php
Line: 15009

And when i click on that file (/httpd.www/Sources/Subs-Rss.php) i get this

QuoteFatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 10914559 bytes) in /customers/styrkeboka.com/styrkeboka.com/httpd.www/Sources/Subs.php on line 2585

is this common? is there some fix for this?

*I have attached the files in the description.

SlammedDime

Quote from: Brack1 on March 17, 2010, 02:15:19 AM
Following on from the previous post made.

How do you do it?


Do what, exactly?  Once you install the mod, you go to the Modifications settings area in your admin panel and choose the RSS Feeder option.  Once in the options for the mod, you can add a new feed, which will present you with all of the options for that feed, which includes what board to post to, what username to use, etc.

Walgermo - The first error is showing because for some reason, Deprecated errors are being thrown into your error log.  The Subs-Rss.php file is not mine, it is the SimplePie library, I wouldn't even being to know where to begin on debugging it, I've never looked at the library in enough detail other than making it work with this mod.  The second error seems unrelated to this mod.  That error is happening in the highlight_php_code function which this mod doesn't call.  that function is normally called when 'code' and 'php' bbcode tags are in a post and parsed.
SlammedDime
Former Lead Customizer
BitBucket Projects
GeekStorage.com Hosting
                      My Mods
SimpleSEF
Ajax Quick Reply
Sitemap
more...
                     

TheListener

I have the feeds on my computers bookmark.

It is just not kknowing how to get them from there onto the forum.

I have filled in the modification settings.

akbora

Is this mod transphere the topics to our forum's board from the others forum (legal) ?
SMF 2.0.13
Default Theme
Utf8 Turkish
---------------

GreenMotion

RSS Feeder seems to automatically disable certain feeds after getting timeout errors. Is there any way to disable this?

derby

This is the code i got for my feedburner

<p style="margin-top:10px; margin-bottom:0; padding-bottom:0; text-align:center; line-height:0"><a target="_blank" href="http://feeds.feedburner.com/~r/derbhotjobs/SlmQ/~6/1"><img src="http://feeds.feedburner.com/derbhotjobs/SlmQ.1.gif" alt="DerbHotJobs" style="border:0"></a></p><p style="margin-top:5px; padding-top:0; font-size:x-small; text-align:center"><a href="http://feedburner.google.com/fb/a/headlineanimator/install?id=qla3r3clcopnjtp1hs09gegfc8&amp;w=1" onclick="window.open(this.href, 'haHowto', 'width=520,height=600,toolbar=no,address=no,resizable=yes,scrollbars'); return false" target="_blank">&uarr; Grab this Headline Animator</a></p>

how do i make it to show on signature how do i edit it and where do i edit
LATEST JOB VACANCIES



www.derbhotjobs.com

steve51184

Quote from: GreenMotion on March 24, 2010, 01:27:36 PM
RSS Feeder seems to automatically disable certain feeds after getting timeout errors. Is there any way to disable this?

i'd also like to know this :)

Advertisement: