![]() |
I am wondering, using the who's online hack I display "getting the articles..." for location instead of /var/www/etc../.../articlebot.php. Is there a way to make it display a name instead of "Guest" ?
|
Quote:
|
Quote:
|
Quote:
|
I've found an interesting (and yet aggrevating) issue w/ Article Bot...
I'm pulling RSS from this URL: Code:
www.zenguide.com/rss/generator.cfm?content=stories&category=10&code=XXXXXXXXX HOWEVER here is what Article Bot is storing (due in part possibly to storing it as rendered html?) Code:
www.zenguide.com/rss/generator.cfm?content=stories&category=10&code=XXXXXXXXX Is there a quick way I can get around this? I'm going to try to investigate the storage of the RSS URL when I get home, but perhaps someone has some insight before I start? :) EDIT: i used [code ] tags for the url's in hopes that they wont render as real links simply so you can see the & issue :) |
and...i figured it out thanks to some input from Ianomed :D I have yet to find a URL that this has an adverse affect on, but if someone finds one please let me know :)
How To: 1) Open /admincp/articlebot_admin.php 2) Do a find for: PHP Code:
PHP Code:
|
Awesome work ...few questions...
Is there anyway to control the style of the text etc ? Is there any possibility to have the ability to include images if they are available ? Cheers Paul |
Hello. Seemingly basic question (since nobody has asked it in 28 pages).
How do I add the articlebot_post template. Is it the 'vbulletin-style.xml' page that I alter? If so, what does the code look like? Thanks. I'm very new to VB. |
Quote:
-Jason |
I'm trying to import this XML feed:
http://news.biohealthmatics.com/feeds/rssnews.aspx The link in the xml file looks lik this: <link>http://biz.yahoo.com/prnews/041117/law061_1.html</link> but I'm getting a malformed URL like this on import: http://<br%20/>http://biz.yahoo.com/prnews/041117/law061_1.html<br%20/> Any ideas as to what is going on here and how I can fix it? I have several other feeds that are importing just fine. :confused: |
When I run the articlebot.php file from the command line, I get this error:
PHP Fatal error: Only variables can be passed by reference in /var/www/htdocs/forum/articlebot/rss_parse.inc on line 399 PHP version 4.3.3 Any ideas as to why it's happening and how to fix it? |
Hello Everyone,
This is a great hack but for some reason I can't get it to pull the feeds (I've been manually running the articlebot.php file every hour). This time though, I finally got an error message of: Fatal error: Call to undefined function: html_entity_decode() in /home/virtual/site7/fst/var/www/html/forums/articlebot/articlebot.php on line 242 Could someone possibly tell me what that is . . . Thanks, |
I upgraded to PHP 4.3.10 RC, and I'm still getting the same error: PHP Fatal error: Only variables can be passed by reference in /var/www/htdocs/forum/articlebot/rss_parse.inc on line 399
I gave up. So I installed the other RSS feed article bot that was mentioned in this thread, and that works great so far. I'd recommend that if you are encountering this problem. Velocd: thanks for the work you put into this hack. I wish it worked for me. |
Just installed this now (Clicked Install), and am glad to say, it's working great. Excellent Hack! Thank you.
-snake |
Quote:
I know the settings are right because when I run the articlebot.php directly the timestamp in the AdminCP says so. I know the feed I use (http://sports.yahoo.com/nba/rss.xml) is fine too. |
Hey, this looks neat....
Yes I know I should have read the posts.... But I'm on short timeshedule (SP?) to day and is there a way of making this mod pull diffrent RSS feeds to diffrent forums???? |
Quote:
|
Quote:
Cute !!!! :d *LeeMan downloads and installs. |
Installed but i don't get it to post... :(
Is there a way to check that it's getting the feeds...??? And i'm not using Cron, I use VB scheduler.... |
When you run it the first time, it won't import anything. Then you will have to wait for the next scheduled run time for it to import any *new* articles since it checked the first time.. Use a frequently updated RSS feed (i like to use slashdot.org), set the RSS Post Interval to something like 15 mins, and only retrieve 1-2 articles at a time. This will allow you to fairly quickly validate that your feeds are working.
|
Quote:
In articlebot.php, find: Code:
$DB_site->query(" Code:
$DB_site->query(" Also, after: Code:
/* +---------------------------------+ Code:
$p = $DB_site->query_first("SELECT firstpostid from ".TABLE_PREFIX."thread Let's hope that VeloCD can now use this in the future so that we can specify which bots get moderated and which ones do not... |
Since there is no support for the "There is no file located" error...how do I go about uninstalling this hack? (Specifically, the database changes)
|
Quote:
One other thing, after a server out time of a few hours, many articles were indexed a second time. (it is quite rare too, but perhaps that could be improved ?) Thanks you for the hack. |
I have installed this hack and am loving it.
I could use some help writing the cron to run articlebot.php. This whole idea is new to me and I dont do that well with this type of stuff to begin with. My database management tool provided by my server is called phpMyAdmin (I believe) and I have downloaded PUttY. I unfortunately have no idea what to do with either of these to set up the cron. Any help (especially examples) would be great! |
Are you actually running cron jobs to get the feed?
|
Quote:
Wait wait. I deleted my post because I *just* went back, changed to the use of the phpinclude_end option, and suddenly had incredible PHP errors at the top of the forums, hit refresh and *bing* there was slashdot. That tells me that the cron job isn't doing it's job. Or so I would think. But, the other RSS that I was really after still isn't working ... BUT, I don't think that is a problem of this mod. I think that's a problem of the source. |
Okay ... this is the error that keeps coming back. Is this the source or the mod?
Code:
Warning: MagpieRSS: Failed to parse RSS file. (not well-formed (invalid token) at line 3579, column 35) in /home/xxx/public_html/xxx/articlebot/rss_fetch.inc on line 230 Any thoughts? Thanks in advance. |
Quote:
Thanks, hit me up on AIM: Tendollaz, maybe I can figure it out and try to explain to everyone else... |
I did manage to get things worked out. Sorta. I finally got the cron job to function properly as well. (I didn't read carefully what I was inputing)
However, the cron job now kicks back the same exact error as the phpinclude_end option did when I tried that way. Code:
Warning: MagpieRSS: Failed to parse RSS file. (not well-formed (invalid token) at line 3657, column 35) in /home/xxx/public_html/xxx/articlebot/rss_fetch.inc on line 230 (I'm at work and IMs are blocked, but I'd be more than willing to open things up and let you in to check around if you want to drop me an email. Currently the forums are in test mode anyway before we switch the main boards from SMF to vBulletin (a different headache, but oh well).) |
I am not sure what I am doing wrong but I cant seem to get this to work. I set it all up and it even shows the control panel in my admincp but I cant seem to get this booger to post nothing. I even set up a cron job and still nothing. any possable clue on what i need to do please.
|
Is there anyone that can tell me how to resolve this error that I posted above?
Thanks! |
Yet one more thing. Is this normal?
|
I suggest you both start with a feed that is known to work. There are quite a few variables and if you try to solve everything at once you might not succeed.
Here's one that works for me: http://www.bonsai-today.com/rss/bonsai-today-rss.html 2. Nothing will happen unless the Article Bot is enabled and associated with a user. Did you create a user and assign the article bot to a user? Advanced Settings - Leave all that regex stuff blank for now. 3. Did you configure the RSS Feed? Mine for the feed listed above is ID:1 http://www.bonsai-today.com/rss/bonsai-today-rss.html Forum: General - choose your own forum Icon ID: 1 RSS Label: [Bonsai-Today] Post Interval: 1500 ***See note below*** Fetch Limit: 1 # Skip: 0 Build Similar Thread: Yes Skip articles that don't contain descriptions: Yes Enabled: Yes Advanced Stuff: All Blank ***Nothing will happen until the 1500 minutes elapse, so set it to some low value for testing, like 60 minutes or 5 minutes if you're impatient Set up your cron. I am using Cpanel X with Cron Jobs: Click the Cron Jobs icon and choose Standard. Command to run: Quote:
Minutes: 0 Hour(s): Every Hour Day(s): Every Day Month(s): Every Month Weekday(s) Every weekday You won't get any posting if *you use a bad feed *mess up on the cron path or don't have any cron *don't attach a feed to a robot *don't attach a robot to a userid *set too long a time period *choose the wrong forum for posting Summary: Get it working with a known good RSS first, then you can experiment with others. Regards, Matt |
Yup. Got it. I have a second feed (from the same source, I might add) that works. The first one continues to give the error that I posted above. Now, if it's a bad RSS feed, great. But if there is a way that I can work with what I have and figure out what's messing up the feed in one RSS that isn't messing it up in the other.
Here's the kick though. The same RSS feed that is messing up with this bot, works through different mod (for a CMS, not a forum) and pulls the feed just fine without error. So ... is there a way around this? I'm hoping. I'm watching this mod actually work with one feed. |
Okay. Also, in the RSS Admin, I'm see that the Post Total equals 93, but there's only 4 posts and I'm quite sure they are from the functioning RSS feed (since I can see those posted). That would leave 89 posts somwhere. Where? I got a different report this time when I changed my cron function from what was listed in the install.html to what you have above (with my own foum path, of course). Now I this:
Code:
X-Powered-By: PHP/4.3.9 Edit: The second report just came in. Now it's back to both the above code AND the original code. Code:
X-Powered-By: PHP/4.3.9 |
Two ideas for you now
It sounds like it is incompatible with the importer for one reason or another. A couple things you might try 1. Validate the RSS feed and see if it passes validation 2. Post the url to the feed and ask someone else to try importing it using their vbArticle Bot 3. Be very careful with the board you select. The robot has the capability to post to any forum, including boards that are not "forums," boards that are permissions excluded to ordinary users, boards that don't accept posts and boards that are otherwise closed. Tell the robot to post and it will post, whatever the circumstances. Regards, Matt |
Okay. Let me ask this. The Advanced area that does replacements. I think I can see the problem. One feed validates but with "potential issues" -- therefore it posts. The other does not validate but because it doesn't like the & or \ in various places. Is the replacement aspect that I see there a way to replace these characters with something more "friendly"? Or am I way off here?
BTW, I want to add this in here as I start to actually simmer down. Thank you. You've been an incredible help in this process. |
I think those regular expression fields are provided to "Clean up" various tags left in posts after they are imported and parsed. You could try making replacements, but I think that's after the fact. Maybe you should contact whomever is providing the feed and tell them that their feeds aren't validating.
Regards, Matt |
The problem is that they don't care. Sad, but true. I'll try the replacement today and see what happens.
|
Any way to stop "Unknown Location" in the Who's Online list?
I've set it up, and got it working for Crontab. |
All times are GMT. The time now is 01:37 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|