Re: [DEV] RSS Input
Posted: Sat Jul 10, 2010 3:50 pm
@wadie
Post or PM me the feed url and I'll get useful info to identify what's wrong
Post or PM me the feed url and I'll get useful info to identify what's wrong
Code: Select all
http://www.feedvalidator.org/check.cgi?url=http%3A%2F%2Fwww.uefa.com%2Frssfeed%2Fuefachampionsleague%2Frss.xml
I cant seem to find it anywhere??? What I am doing wrong? Or is this not suitable for Automod?You can manage your feeds from GENERAL - BOARD CONFIGURATION -> RSS Import Settings by now
I used Automod when i installed mine. It sounds like the modules did not get added to the ACP.Scotty501 wrote:Love the sound of this mod - but getting stuck. I have the lastest version, 3.0.7-PL1 - and I installed via AutoMod - it all seems to go well and runs SQL etc.
I then go to ACP create a new Bot, no problem.
I cant seem to find it anywhere??? What I am doing wrong? Or is this not suitable for Automod?You can manage your feeds from GENERAL - BOARD CONFIGURATION -> RSS Import Settings by now
Code: Select all
Find
define('FIND_CJK', 'big5, big5-hkscs'); // for setting the parser CJK flag
//define('FIND_STRIP', ''); // comma delimited string to strip from item contents
Code: Select all
//define('FIND_STRIP', ''); // comma delimited string to strip from item contents
//define('FIND_ICON', 6); // this is the find post icon_id
Code: Select all
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 910 100 910 0 0 1352 0 --:--:-- --:--:-- --:--:-- 1352
100 910 100 910 0 0 1352 0 --:--:-- --:--:-- --:--:-- 0
<b>[phpBB Debug] PHP Notice</b>: in file <b>/includes/functions_find.php</b> on line <b>35</b>: <b>include(./includes/rss_parser.php) [<a href='function.include'>function.include</a>]: failed to open stream: No such file or directory</b><br />
<b>[phpBB Debug] PHP Notice</b>: in file <b>/includes/functions_find.php</b> on line <b>35</b>: <b>include(./includes/rss_parser.php) [<a href='function.include'>function.include</a>]: failed to open stream: No such file or directory</b><br />
<b>[phpBB Debug] PHP Notice</b>: in file <b>/includes/functions_find.php</b> on line <b>35</b>: <b>include() [<a href='function.include'>function.include</a>]: Failed opening './includes/rss_parser.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php')</b><br />
<br />
<b>Fatal error</b>: Class 'rss_parser' not found in <b>/home/broker/public_html/includes/functions_find.php</b> on line <b>94</b><br />
This is a valid RSS feed.Mindscape81 wrote:i have a problem with a feed.
Feed Url is: (Valid)
http://www.mmo-champion.com/external.ph ... 0&count=10
When i want to import it shows :
[MMO-Champion] XML error: Invalid document end at line 1 column 2 byte 0. URI: http://www.mmo-champion.com/external.ph ... 2&count=10
What puts the & into the url on import ?
Thanks in advance.
Code: Select all
/bin/sh:
http://www.brokerwise.org/rss_import?feed-4: No such file or directory
to thiscase 'SUMMARY': // Atom
case 'CONTENT': // Atom
case 'DESCRIPTION':
$this->_item['description'] .= $data;
...and it now works as intended. This works on all of my WordPress 3.0 RSS2 feeds. I think it might break some other feeds, however and don't know how to modify the code so it would NOT use 'description' if 'content:encoded' is present (otherwise it's duplicated the first several lines of the content via the description when it imports the item as a post).case 'SUMMARY': // Atom
case 'CONTENT': // Atom
case 'CONTENT:ENCODED':
$this->_item['description'] .= $data;
Thanks, that's what I figured. Since the new WordPress 3+ seems to use 'content:encoded' in its feeds by default, I imagine more people will begin to find this issue cropping up.PoPoutdoor wrote:@John T. Folden, current code only handles simple XML tags, and your mod breaks other feeds for sure. If this mod goes official, I can start fixing the parser code with some help.