vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=33)
-   -   Article Bot (https://vborg.vbsupport.ru/showthread.php?t=67078)

Velocd 07-22-2004 12:43 AM

Quote:

Anyone got a demo of this in action?
www.animesystem.com/forums/

Bots include:
Kanno, Aspen, Zen, Crowbar

Currently my bots are dominating the forum and will soon have a higher postcount then some of the regulars. Har har. :ermm:

Quote:

Velocd, does this work when capturing info from an RDF file?
I used the other RSS feed on my site and wanted to capture data from the website - www.uo.com, but they don't have RSS, so I setup a script to capture news from the site and save it as an RSS feed file, a rdf file, but it didn't work with the other RSS mod....
Deimos (and others), be sure to read what you haven't of the entire thread before asking a question. ;)

I answered your question 3 posts above, here.

Quote:

Can someone tell me why I can't pull this feed?

http://satelliteguys.gottadeal.com/rss.xml

Everything looks ok to me, and my other feeds are working.
Code:

<?xml version="1.0" ?>
- <rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"

This is an RDF document. ;)

The MagPieRSS parser this script uses doesn't support RDF. Given the request for RDF, when I have the time I'll see if I can find a version that does, even if it is another RSS/RDF parser.

Admiral Spock 07-22-2004 03:16 PM

Velocd, Thanks for this wonderful hack. However, I can't get it to fetch the RSS feed, and when the cron job ran it gave this error:

Quote:

Warning: MagpieRSS: Failed to parse RSS file. (mismatched tag at line 1341, column 2) in /home2/beta/public_html/forum/articlebot/rss_fetch.inc on line 230

Warning: array_reverse(): The argument should be an array in /home2/beta/public_html/forum/articlebot/articlebot.php on line 141

Warning: Invalid argument supplied for foreach() in /home2/beta/public_html/forum/articlebot/articlebot.php on line 145
Do you have any idea what I may have done wrong? I'm sure it's a problem on my part as I am not good with PHP code. I have the article bot set up, and set to fetch the RSS feed each hour...

Thank you! :)

Deimos 07-22-2004 03:30 PM

Gah, my apologies Vilo, next time I won't be so lazy as to skip the thread, hehe

Velocd 07-23-2004 03:53 AM

@Admiral Spock: Does it do this error for every RSS feed? If not, link to the RSS feed that gives the error. Maybe you are trying to parse a RSS feed not supported by MagPieRSS parser.. that would give that error. MagpieRSS functions return an array, so those array errors would be result of it not returning anything.

lanoix 07-23-2004 08:41 AM

Thanks for this mod, I will try it... :squareeyed:

Admiral Spock 07-23-2004 11:13 PM

Quote:

Originally Posted by Velocd
@Admiral Spock: Does it do this error for every RSS feed? If not, link to the RSS feed that gives the error. Maybe you are trying to parse a RSS feed not supported by MagPieRSS parser.. that would give that error. MagpieRSS functions return an array, so those array errors would be result of it not returning anything.

http://www.14wfie.com/global/Categor...clienttype=rss is the feed I used.

But I also used http://rss.news.yahoo.com/rss/topstories and that didn't work either. But with the Yahoo one, going to /articlebot/articlebot.php brings up just a blank page - no errors.

Matrixgl 07-25-2004 05:10 AM

every newsfeed url given in the install.html file is giving me this error:

PHP Code:

WarningMagpieRSSFailed to parse RSS file. (mismatched tag at line 121column 2in /path/forums/articlebot/rss_fetch.inc on line 230

Warning
array_reverse(): The argument should be an array in /pathl/forums/articlebot/articlebot.php on line 141

Warning
Invalid argument supplied for foreach() in /path/forums/articlebot/articlebot.php on line 1 

same as admiral...

using vB 3.0.1

Rob Eh 07-25-2004 05:28 PM

[high]* Rob Eh clicked install.
[/high]

I do have a question. How do I delete to comments at the top and bottom of each article posted? They show up on the preview mouseover in the forumdisplay.

PHP Code:

<!-- BEGIN TEMPLATEarticlebot_post -->
Sudan could face international sanctions if it fails to disarm Arab militias responsible for killings

[url="http://www.newsisfree.com/click/i,45270008,838,rss/"]View Full Story[/url]

<!-- 
END TEMPLATEarticlebot_post --> 


Matrixgl 07-25-2004 05:36 PM

looks like the urls in the install.html file dont really work...

However, I did get many of the urls to work from this site:
http://www.findforward.com/?q=&t=rss

Velocd 07-26-2004 03:26 AM

Version 1.1 has been released.

Refer to the first post for upgrade/installation instructions, and release notes.

If bugs are found, please report them in this post.


All times are GMT. The time now is 01:03 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.02067 seconds
  • Memory Usage 1,755KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_code_printable
  • (2)bbcode_php_printable
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete