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)

RyanDe680 08-27-2005 07:49 PM

All I am getting are advertisements so far, even though in the XML feed I can see the articles relevant to what I would want posted

Yup 08-28-2005 12:20 AM

I installed this, followed everything the way it said to, and yet there is no option to the left of my admin cp.

There isnt an article bot settings box

any help?

Yup 08-28-2005 01:00 AM

Forget about that, I guess i didnt refresh..

however now i have a new problem

i set up everything through all the steps put the include for articlebotphp in my index

and put the correct path to server in the articlebot.php

but when i go and try to execute articlebot.php i get a blank screen

also it isn't posting any threads or rss feeds

RyanDe680 08-28-2005 01:51 AM

Quote:

Originally Posted by Yup
Forget about that, I guess i didnt refresh..

however now i have a new problem

i set up everything through all the steps put the include for articlebotphp in my index

and put the correct path to server in the articlebot.php

but when i go and try to execute articlebot.php i get a blank screen

also it isn't posting any threads or rss feeds

If it results in a blank page when you go to http://www.yoursite.com/forum/articlebot/articlebot.php then that's good, it's working. Perhaps it could be the XML scripts that you are receiving (ie. the news source)?

For me all I have been getting are advertisements.

Yup 08-28-2005 11:23 PM

It just took sometime to grab it, I guess my only complaint now is that the threads that are being posted are only like a couple of sentences... instead of full articles

is anyone else experiencing that as well?

darnoldy 08-29-2005 01:28 AM

Quote:

Originally Posted by Yup
the threads that are being posted are only like a couple of sentences... instead of full articles

is anyone else experiencing that as well?

Yep, everyone. That's the way RSS feeds are designed to work--they give a few-sentence description and a link to the full article.

--don

Cloud Strife 08-29-2005 11:33 AM

Is there any way to use regex to replace the link that is inside <link> </link> This link is being posted in the threads, but it is not the link to the full article. The link posts like this "http://www.thesite.com/short.php?id=12543" I want to replace it so it puts a link to "http://www.thesite.com/full.php?id=12543" I tried to do a regex for description in the admincp but it didnt work. Seems that it wont work for things embedded in a link tag. Any way to get it to work?

ferrariengines 08-31-2005 10:11 PM

I believe the entire logic of this script is absolutely wrong. Firstly, there is no code in articlebot.php which would cause it to loop for the specified interval time. Setting an interval appears to be useless, articlebot will grab the first item in the RSS and then wait until the cronjob fires it again to grab the second item, the interval setting is completely bypassed. The way I imagined functionality was as follows:

Say you have a RSS feed with 10 items that haven't been added to your forums. At whatever time you designated the cronjob to fire, the first item from the RSS is added to the forums. Because I have set the interval to 2 minutes, the next item is added 2 minutes later, etc. until after 20 minutes, all 10 items have been added to the forums, and execution stops. When my cronjob fires articlebot.php the next time it will check for any new items, and input them 1 at a time taking a 2 minute rest between items.

I believe this was the intention of the script, but there is no coding in articlebot.php to facilitate this. I am currently attempting to incorporate the correct interval structure into articlebot.php, however, it may prove to be difficult as I am having a hard time understanding the layout of this code as it appears to be completely linear without any reference to certain functions.

I will keep you guys updated.

NxTek 08-31-2005 10:42 PM

I haven't noticed most of what you mentioned, but I have noticed that it will grab a post in the "middle" of a feed as a new article.

The 3 biggest problems with this script as I see it are -

1, It doesn't correctly parse images in feeds to (img) vB code tags. I know the layout can't always match the original, but still displaying them would be nice.

2, It doesn't correctly parse <enclosure> tags into (url) vB code tags. This is most often used for Podcasts.

3, There is zero support for it. I've asked 7 questions in this thread and none have been answered. I'd even be willing to pay a few bucks for the script if support questions would get answered. Welcome to vB hacks I guess. :)

ferrariengines 08-31-2005 10:48 PM

Hi NxTek,
Does the interval system work for you, such as you specify an interval, and it will churn away posting a new message for each item based on the interval time? It is not possible from looking at the code... I wonder if I have a bad articlebot.php?


All times are GMT. The time now is 02:10 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.02122 seconds
  • Memory Usage 1,741KB
  • 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_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