![]() |
PHP - 4.3.8 (That's what I got from the Admin Panel with VB).
These are a few of the links I've tried... I also tried without the http:// but that didn't work either. http://rss.news.yahoo.com/rss/entertainment http://csmonitor.com/rss/top.rss http://www.infoworld.com/rss/columnists.xml |
Velocd,
Would there be an easy way of adding a conditional to the logic so that if I search for the article and found a particular text value that I could over-ride the forum number and icon number that it's going to use? Where I'm going with this is the scenario of having multiple RSS feeds but I would want one particular subject matter, no matter from which feed it came from, to always end up in the same forum. Thoughts? :D |
Quote:
Anything I can do to fix it? Oh and none of my yahoo feeds will work, so I'm guessing that's why. |
NEW Modified RSS News Feed Hack - https://vborg.vbsupport.ru/showthrea...&highlight=rss
What is the difference of the above hack and this Article Bot hack? I'm new in the RSS feed. |
Quote:
|
Well I found out that it is something my server is restricting that is causing it not to work. :( Thanks for trying to help though.
|
Quote:
My best recommendation is to use specific RSS feeds. e.g. If you have a general forum and a Yahoo! Latest News feed inside it, it's going to get content of all types.. that perhaps you have other specific forums for. Use more specific RSS feeds. Doing conditionals would be rather rough, and I don't really have the time to experiment with it. :\ Quote:
|
Quote:
|
Quote:
i cant get this working (tried various feeds) - i run my own server but im not sure of anything that would conflict with the blogs |
this is strange - i tried a test feed and it kind of worked - several articles pulled through but they all had no content
im still congused as to why the other feeds arent pulling through as there has been updates to them |
Quote:
|
Velocd, is the "RSS Label" value available as a variable name to use in the template? I'd like to have that value appear in my template so I'm hoping that there's a variable name for it. :D
|
Yeah, it should be accessible by the variable $articlebot[label], which pertains to each RSS feed.
I found an awesome RSS feed directory on the web, whom also have a cool RSS news aggregator application in .NET. http://www.newsisfree.com/sources/bycat/ Cool beans. |
Quote:
|
Great hack, working well. However the posts added by AB don't trip whatever gets tripped to send out an email to the forum members... Any way around this?
Thanks, Blake |
What do you mean by trip?
|
I still get..
Warning: main(/admincp/global.php): failed to open stream: No such file or directory in /home/mgunnin/public_html/forums/admincp/articlebot/articlebot.php on line 43 Fatal error: main(): Failed opening required '/admincp/global.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/mgunnin/public_html/forums/admincp/articlebot/articlebot.php on line 43 I am not sure what to do to fix this, did everything step by step and check 100 times. I know it is something simple that I am just overlooking. chdir('/home/mgunnin/public_html/forums/'); require_once './global.php'; include_once './articlebot/rss_fetch.inc'; Is that correct? |
The articlebot directory was not meant to go inside the admincp folder (according to install.html)
Still, if you're using chdir() it should relocate. The path seems to be referencing to /admincp/global.php though. Are you sure the following line is correct? Code:
chdir('/home/mgunnin/public_html/forums/'); So change: Code:
include_once './articlebot/rss_fetch.inc'; Code:
include_once './admincp/articlebot/rss_fetch.inc'; |
by trip, I mean that what I have here:
Email Addresses to Notify When there is a New Post (Separate each address with a SPACE) doesn't seem to be used when AB posts. Threrefore the people I want to see the new post aren't getting the normal email. They have to happen upon it, which isn't timely. Thanks! |
Quote:
|
Long story short on why, KW802: When I find an article of interest, I post it (quickly via FeedDemon) to my personal weblog. This is the RSS feed pulled by the bot to our internal vBulletin setup... I could log into the forum and post, but this is a quicker way. I only post a few items per day at most, so the volume isn't much.
|
Wonderful, im about to install it, thanks a bunch :)
|
Hmm, its all setup fine but the bots arent posting my feeds, i have set them to post every minute and have the cron executing every minute so im going to see if i can fix it and once i have them post once i will know its fixed :S
|
ok its not working for me :( The bots just dont post, i use yahoo feeds and i have the cron set for every minute and i have the articles set for every minute but they just dont post....what can i do?
|
Quote:
|
Go to the file articlebot.php in your browser, and see if it gives you any error.
Additionally, what is your PHP version? |
Quote:
articlebot.php returns a blank page... *sighs* |
Two articles have posted :-o, hmm thats interesting. Maybe its randomly decided to work now...i shall get back to you if i get any more problems, thanks for the help anyways :)
|
Hey, can you give me an answer on this on way or another? I need the email to go out on a new post. If you can't make it work, please let me know. Thanks!
|
You certain you have the cron configured correctly? (something like /usr/local/bin/php /home/myfolder/public_html/forums/articlebot/articlebot.php). This is a cron tab, and not the vBulletin task system, eh?
Even so, running articlebot.php manually should get the bots going. Not that this should matter, but your vBulletin version is? |
Whenever I try to add a RSS feed to an article bot, I get this error:
Error: There is no file located at http://www.nytimes.com/services/xml/...Technology.xml This happens with any and all RSS feeds from any site. What could the problem be? |
ok lol i must be stupid or something cause every time i try to add a news feed to a bot i get this error.
Quote:
|
That means that you have no Post Icon with an ID of 1. Go to Post Icons, and select which Icon you want all posts by the bot to make, and then check out its ID number, and put that in the field.
But, I still need MY question answered =/ |
my article bots havent posted since the first time :( , i set the cron perfectly and i also tried manually without results, ver 3.0.3
|
Quote:
|
Would someone please answer my question?
|
I appear to be having the following problems. It worked just fine the first time through, but now, here are the results:
Quote:
|
I know someone else had this problem but didnt see what the solution was
Warning: chdir(): No such file or directory (errno 2) in /home/hardcore/public_html/articlebot/articlebot.php on line 42 Warning: main(./global.php): failed to open stream: No such file or directory in /home/hardcore/public_html/articlebot/articlebot.php on line 43 Fatal error: main(): Failed opening required './global.php' (include_path='.:/usr/local/lib/php') in /home/hardcore/public_html/articlebot/articlebot.php on line 43 |
Installed and very impressed!
|
When I run my articlebot it made posts with no title and no description, only the link would be within the post...
I tracked it down to determin the problem and the entire pregreplace section doesn't seem to be working right with me... perhaps it's my regular expressions retardedness or perhaps it's something else... When I comment out this section and the corresponding one for the title it works fine and posts titles and descriptions... Otherwise it turns the article[title] and article[description] strings into empty strings.... :( PHP Code:
Could anyone give me some ideas? Could you also tell me why we call the preg_replace function with: @preg_replace(...)? Also, very nice hack. An idea for future implementation would be to search the RSS feeds for keywords... each feed having it's own set of keywords or a global keyword much like you have the pregreplace. so if you were interested in news about pumpkins, or video games, or bottlecaps you could then only post news about bottlecaps, videogames or pumpkins... ;) I may do myself but I figured you might like the idea. Alternatly we could all create an RSS feed from our forums with entries being threads that match our keywords, links in the posts would be displayed with our keyword linked, an XML feed with participating sites could be hosted somewhere and we could all deploy some nice keyword linking out across the net... Thanks. |
All times are GMT. The time now is 04:17 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:
|