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)

alexisbellido 08-02-2004 03:02 AM

Hi, same problem as some of you in this thread, running articlebot.php manually does not give me any error, I followed exactly all the steps in the instructions but no post is being made by the bot. My feed is one generated by a Wordpress blog: http://www.ventanazul.com/weblog_en/feed/rss2/

Any ideas about what should I check?

Thanks!

Updated: It worked, just had to wait a few minutes, I did not understand the interval concept very well at first. Now it's working and it's great. My blog entries are being fed to my forum :) Thanks a lot for this. Nice work!

fonzerelli_79 08-02-2004 12:47 PM

alexis - everything is fine but unlike you i cant get the blogs to be imported to my forum

ive left the interval at the default of 120 - however, ive had articlebot up for a few days so im not sure how this can play any part in it?

weaver 08-02-2004 02:33 PM

Running /forums/articlebot/articlebot.php only brings up a white screen for me. Also, whenever I try to add an RSS feed I get an error:

Error: There is no file located at http://rss.news.yahoo.com/rss/topstories

KW802 08-02-2004 02:54 PM

Quote:

Originally Posted by snobbymom
Running /forums/articlebot/articlebot.php only brings up a white screen for me. Also, whenever I try to add an RSS feed I get an error:

Error: There is no file located at http://rss.news.yahoo.com/rss/topstories

You get the white screen because the PHP file has no output, it just updates your tables after it parses the feeds.

Can't help ya' on the Yahoo thing, appears to be a good link.

weaver 08-02-2004 03:47 PM

Thanks... So the white screen means it's working correctly? So now I just have to figure out why it's not accepting any RSS feeds as being legitimate. :(

alexisbellido 08-02-2004 03:53 PM

White screen is ok for articlebot.php, in fact is a good sign that main settings are ok.

It's always good to confirm if your feed is ok with a feed reader (I use www.bloglines.com).

I was not getting any post into my forums and I did this: Put the interval to 1 minute and the number of entries to be retrieved at 50 (I had like 28 entries in my blog but I read that articlepost.php can detect if there is less entries than you enter).

I run articlebot.php manually, got the white screen and after a few minutes my posts started to appear. You can refresh the bots manager page in your admincp and you will see when the next update will be.

After getting my blog entries I configured articlebot to 120 minutes interval and getting posts 1 by 1 again.

I hope it helps.

weaver 08-02-2004 04:13 PM

I keep getting an error saying there isn't a file at any of the links I put in.

Velocd 08-03-2004 06:56 PM

Quote:

Originally Posted by snobbymom
I keep getting an error saying there isn't a file at any of the links I put in.

I think those of you who are having issues with the bot not posting should read up on this post:

https://vborg.vbsupport.ru/showpost....&postcount=145

Make sure your cron script is set accordingly.

Quote:

Quote:

Originally Posted by JumpD
I installed this and it is fantastic. Thanks alot. I did have a problem with some code in the feed I am parsing. As well as keeping bold charecters intact. But I solved it by adding the following code.

I found
PHP Code:

$article['description'] = strip_tags(html_entity_decode(trim($article['description']))); 

and added above.

PHP Code:

$article['description'] = str_replace('<b>''[b]'$article['description']);
$article['description'] = str_replace('</b>''[/b]'$article['description']);
$article['description'] = str_replace('</b>''[/b]'$article['description']);
$article['description'] = str_replace('<b>''[b]'$article['description']);
$article['description'] = str_replace('<br />'"\n\r"$article['description']);
$article['description'] = str_replace('&lt;br /&gt;'"\n\r"$article['description']); 

And everything was fine. Thanks again for the great hack. :D


Ah, cool, I'll have to update the hack with a preg_replace version of this. ;)
(although I think there is already vB3 code for it somewhere)

weaver 08-03-2004 07:16 PM

The problem I'm having is that it's not accepting any of the links I'm entering for feeds. It keeps saying there isn't a file there when they are good urls.

Velocd 08-04-2004 07:06 PM

Can you post a sample link?

Also, what version of PHP is installed on your server?


All times are GMT. The time now is 05:04 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.01730 seconds
  • Memory Usage 1,762KB
  • 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
  • (2)bbcode_php_printable
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (3)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