Log in

View Full Version : RSS Poster


Toopac
12-31-2008, 01:07 AM
I am using the vbulletin rss poster feature but the feed I want to use has:

Text Text
<p> </p>
Text Text

As you know a post needs a break press [enter].

With the feed having p tags I don't get spaces between paras.


Is there any way to replace the p tags with a break?

Lynne
12-31-2008, 02:33 AM
Have you tried changing the setting on Convert HTML to BBCode in the RSS Feed Manager?

Toopac
12-31-2008, 03:24 AM
Yes but it does not convert the <p> </p> to a break, that is one of the reasons I can't use the rss poster as the output looks a mess once posted.

It coverts the links etc, I can't create a bbcode either to do the break, I believe it will have to be hard coded to replace within the php file, but which one? and where?

Lynne
12-31-2008, 03:40 AM
The file you would modify is in includes/rssposter.php. The pagetext looks to be defined prior to being saved around line 310. Perhaps you can do a string replacement on the text around there (I don't see a hook available for use).

Toopac
12-31-2008, 11:00 AM
Thanks, you rock!

--------------- Added 1230761704 at 1230761704 ---------------

I am not getting this right, gonna keep fiddling with it but any further advice is appreciated.

newguy
02-21-2009, 08:53 AM
Thanks, you rock!

--------------- Added 1230761704 at 1230761704 ---------------

I am not getting this right, gonna keep fiddling with it but any further advice is appreciated.
Get it working yet? I am having the same problem. Also the feed I want has links in the description tag also and that is not posted correct when my rss poster bot runs.