![]() |
Quote:
|
Big sorry...
I'm a stupid idiot... :( I forgot the "board"-path in the line... THX for your answer... :) C. |
Quote:
|
Next question... :D
For the first time, the bot gets the news, but for the next time nothing happens... Quote:
C. |
Silly question, but is this hack going to be updated at some point to support RDF new feeds?
|
Quote:
Quote:
I've been testing this hack for over a month now with the original version, and it works fine. Make sure you have set things up correctly. Quote:
That would generate an error. |
That error would be generated refering to dbname.tablename - it seems they haven't installed the Tables to the database
|
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. |
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.... |
Anyone got a demo of this in action?
|
Quote:
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:
I answered your question 3 posts above, here. Quote:
Code:
<?xml version="1.0" ?> 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. |
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:
Thank you! :) |
Gah, my apologies Vilo, next time I won't be so lazy as to skip the thread, hehe
|
@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.
|
Thanks for this mod, I will try it... :squareeyed:
|
Quote:
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. |
every newsfeed url given in the install.html file is giving me this error:
PHP Code:
using vB 3.0.1 |
[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:
|
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 |
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. |
Quote:
|
Think you could possibly add the ability to read RDF files?
*begs* hehe |
Quote:
<!-- BEGIN TEMPLATE: articlebot_post --> <!-- END TEMPLATE: articlebot_post --> If I disable html in the post, which is deffenity the secure way, It will display these comments in the message preview when you mouseover the message hyperlink in the forumview page. If html is enabled in the post, it does not show up in the preview. But it doesn't matter if html is enabled of disabled, it till shows up on my portal page that is created with vBadvanced CMPS v1.0.0. This only way I can get it to dissappear is to disable the "Add Template Name in HTML Comments" in the General settings onm VB Options. to get it to stop. Screen shots below. #1 is a shot of the message when I view the edit post screen. I can't get a screen shot when attempting to preview. #2 is a shot of the troubled area of the portal page. My site is here: http://forums.fu2.ca |
I will perform the upgrade to see if that helps.
|
I am having problems with the upgrade. Every thing ran fine with the script and all, but I can't get articlebot.php to run.
After commenting out the lines: // chdir('/path/to/forums/'); // require_once './global.php'; PHP Code:
PHP Code:
PHP Code:
PHP Code:
PHP Code:
Thanks, |
Simple you changed
PHP Code:
In there it will show you the url you need. For instance mine is /home/general/public_html/forum/ Its under the Enviroment section of the PHP info. Hope it helps. |
Rob Eh, as MindTrix said, you have to provide an absolute path to your forums directory for chdir(), don't comment it out (that is, if you're using crontab).
As for your problem with the comments, my question is why are there comments? I never added them to the template, nor did the instructions say for you to put them there. I would just remove the comments. ;) |
Quote:
include_once './articlebot/articlebot.php'; I plan to setup crontab in the coming days, but since it's been several years and different server setups ago since I used it, I wanted to get everything up and funning properly first. This worked fine for in in your first version before upgrading this morning. If all else fails, I think I'm going to blow away the installation and start over again. I will drop all of the articlebot tables via phpMyAdmin. Then do a fresh install of the new version and see if that will cure it. There has to be something wrong with one of the database tables, because the process stops when attempting to fetch article bots. Quote:
When modifying templates, it is often helpful to have this setting enabled so you can view the source of a page to determine what template(s) control it. It's not a big problem to have this disabled, but it is very strange as to why the comments for the templates are incorrectly showing up as part of the article post itself. I'm confused by it. :confused: |
I have taken screneshots of the structure of the 3 article bot tables, please the thread table that it altered. I do see something that maybe the problem. According to the upgrade script, it calls for the is_iss field to be deleted, but it is not deleted.
All of the articles that have currently been created with article bot have the is_rss field contain "1", the rss_date field is empty, and the rss_feed all contain "0". Is the talbe scructure correct for these tables? Should the thread table have this structure and data? Thanks, |
Here is the table_articlebot_rss.gif from the above post. Only 3 attachments per post.
|
OK, I'm even more confused now. Still getting the same error when I run articlebot/php manually. But I have it setup to run as a scheduled task from with in vB itself, and it appears to be working.
So if everything seems to be working, so everything is fine with me! ;) Thanks for your help. |
Quote:
Luckily preventing the comments from showing is as easy as providing an optional argument to the fetch_template() function. So, in articlebot.php, replace: PHP Code:
PHP Code:
|
error, debug, whatever: missing TABLE_PREFIX everywhere...
|
Awesome hack once again. I installed this and modified it to my needs, and let me tell you it is amazing in my case. Even user activity has increased alot!
|
Great hack, Velocd. I think I might install it.
|
Quote:
|
Just finished integrating it to the v3Articles hack.....I think I will release it tonight.
Good job on the bot Velocd :) |
I'm trying to set my scheduled tasks up for this cron job and I have it pointing to:
./articlebot/articlebot.php Most of the other tasks will display the name of the job, then below it a Done message. I named this job Articles and all I get back is the Articles name, but I am not seeing a done message. This leads me to believe the job isn't running. Has anyone else gotten this to work via this method? I have a shared server and would really like to use this method over the others. Thanks in advance. |
Mine was doing the same thing until I upgraded to the new release. It does work now.
|
Is there a way to specify the time zone used in the control panel for this?
It uses the server time and not the time set by vB in the control panel. Thanks, |
All times are GMT. The time now is 04:20 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|