![]() |
Also, any article that has a $ sign in it, the $ sign shows up as $
Example: AP - A suspect swallowed nearly $50,000 in cash in a failed attempt to smuggle the funds out of Colombia, officials said Monday. That is with any article having a $ in it. Works fine in the Title, but not in the Description. Any idea how to fix that? |
Quote:
Quote:
|
Quote:
Here is what its showing on my forum http://www.insidersportszone.com/for...ead.php?t=6312 Its basically showing up as & # 36 ; with no spaces in between instead of the $ sign. |
Yea its weird. In some articles its showing the $ fine, in others its showing in ascii....
In this post it works right http://www.insidersportszone.com/for...ead.php?t=6292 but in this one it doesn't http://www.insidersportszone.com/for...ead.php?t=6312 . Baffeling.. |
Someone told me to go into the PHP script for the parser (which is the articles.php right?) and change the > with > and < with < to make the <b> </b> HTML work. He says its being sent over from source code and its not being converted..
I'll try it here in a bit if I can find where to do it at.. |
I notice in your code you have
Code:
$article['description'] = strip_tags(htmlspecialchars($article['description'])); Code:
$article['description'] = $article['description']; Example here: http://www.insidersportszone.com/for...6497#post26497 I would also like to know how to get them to show up if they dont have a desription. Because I cant use NFL.com or alot of sports feeds because they dont have descritions in their feeds. Thanks again.. |
Ok, so everything is working great now except the spacing between the Article and Descritpion.
Example: http://www.insidersportszone.com/for...6508#post26508 Derek improves to .700 after 3-for-3 nightHOUSTON -- Add another impressive line to Derek Jeter's glittering resume: the most successful hitter in All-Star game history. Jeter went 3-for-3 Tuesday night, upping his career totals in the game to 7-for-10. That .700 batting average is the highest for anyone with at least 10 at-bats, topping the .600 of former Philadelphia Phillies star Richie Ashburn. "I don't know, it's not just good fortune," said Jeter, whose three hits all went to the opposite field against... (Associated Press) So basically, what I need to know, is how to seperate: Derek improves to .700 after 3-for-3 night and HOUSTON -- Add another impressive line to Derek Jeter's glittering resume: the most successful hitter in All-Star game history. Jeter went 3-for-3 Tuesday night, upping his career totals in the game to 7-for-10. That .700 batting average is the highest for anyone with at least 10 at-bats, topping the .600 of former Philadelphia Phillies star Richie Ashburn. "I don't know, it's not just good fortune," said Jeter, whose three hits all went to the opposite field against... (Associated Press) by a space... |
Suggestion:
What about the bot having the ability to search the RSS before posting? Since I run a Ford site and we deal with the new Thunderbirds, we would like to ONLY gather ford thunderbird information from this....Is there a way for the bot to pull keywords and only post threads with certain search words? |
Quote:
Quote:
Quote:
|
/me clicks install
A question, can the bot recognize and ignore already posted item? |
Seem like the bot doesn't work with this RSS...
http://www.theinquirer.net/inquirer.rss I know why, look like the bot won't do anything if the description tag is missing. |
Quote:
http://www.insidersportszone.com/for...6602#post26602 It keeps doing this: Code:
Odom, Butler, Grant and pick go to LakersMIAMI -- It's official: The Shaquille O'Neal era in Los Angeles is over, and his new team is the Miami Heat.The Lakers and Heat finalized a trade Wednesday sending O'Neal to Miami. Los Angeles gets Caron Butler, Lamar Odom, Brian Grant and a first-round draft pick.The deal had been on the verge of completion since Saturday, when O'Neal met in Orlando with Heat president Pat Riley and agreed to the trade. NBA attorneys approved it on the same day the league's two-week moratorium... (Associated Press) Code:
<pubDate>Fri, 9 Jul 2004 20:48:37 CEST</pubDate> |
Quote:
|
Quote:
Theres no way to add one is there? IM just glad I got the HTML to work. That was a big plus. If anyone else has the same problem with the HTML showing up as code and not being executed. The fix for the HTML is: In the forums/articlebot/articlebot.php change: Code:
$article['description'] = strip_tags(htmlspecialchars($article['description'])); |
Thanks for the link, but not 100% how to use this?
Instead of making the bot link to a .rss or .xml file, i now link him to the one generated by that link? Because all the pages it shows me seem to show up as html.... Thanks |
Quote:
Quote:
Quote:
Quote:
Also note there is a "initial article trim" to skip a number of articles when first starting on an RSS feed. |
Thanks Velocd. Very useful script...
|
Can someone test out this feed? I can't get it to work with either bot:
http://www.swissinfo.org/sde/swissin...?siteSect=1111 |
Quote:
|
Ok, got my search query going good....but! it seems to pull the same info from different sources, and i have repeat posts.....is there a way to moderate the bot? so all i have to do is look at the threads and take out the dups.?
Its an extra step, but at least i don't have to find the news! Thanks |
Quote:
Is there any reason why you cannae set the cron as a scheduled task in the vbulletin admin panel or am I missing something really obvious? |
I think i got it....i had mutliple listings to post from the search engine they gave me....but it would pull the same data, just from a different source each time it updated....so i would have multiple posts stating the same thing, the only difference was the source.
But i managed a way around it. Thanks for the help |
Hiya I was wondering if you can help me..
I installed and then removed this hack, but now it seems that none of my users can make new threads on any sections within the forum, it just comes up with this error message: No Thread specified. If you followed a valid link, please notify the webmaster Users have no problems with replying to current posts made. I removed the files, and removed the relevent tables it made in the database, but something is very wrong here. vBulletin 3.0.3 http://f7.sanjiyan.co.uk |
Why can't ArticleBot process the following news feed, for example. Yahoo has a GREAT tool for searching/filtering news and outputting it as RSS.. However it is useless if I can't get to work. For comparison, I've provided a yahoo feed that does work.
Doesn't Work: http://search.news.yahoo.com/usns/yn....html?vo=happy Works: http://rss.news.yahoo.com/rss/us Both work in several Windows RSS readers. Thanks for any help! -Victor |
Quote:
|
Hello I'm installing your Hack and am stuck at step #3. I gues I'm too literal but can you elaborate?
"Create a template called articlebot_post" where do we put this Template? Thanks |
Velocd here is update from a little while ago-
I made a text file and called it "articlebot_post" and put it in /path/to/forums/admincp/ Is this correct? (it doesn't say in step #3 where to put template) Anyway after I uploaded all the files and went into admin panel I see the article bot stuff on left,however I'm getting this error inside admin when trying to add bot- ============================== Database error in vBulletin 3.0.3: Invalid SQL: SELECT userid FROM user WHERE userid = 0 mysql error: Table 'CreditForum.user' doesn't exist mysql error number: 1146 Date: Friday 16th of July 2004 04:40:33 PM Script: http://www.creditscorebooster.com/Cr...ebot_admin.php Referer: http://www.creditscorebooster.com/Cr...min.php?do=add =============================================== When I log into phpmyadmin for access to database I see this error; Error The additional Features for working with linked Tables have been deactivated. To find out why click here. PMA Database ... not OK[ Documentation ] General relation features Disabled ================================================= Do you suppose that this means I can't use your hack on my server the site is hosted on? Can you help trouble shoot this? Thank you Looks like a really good hack once it gets going. R.C |
Please help me, I'm getting this error:
Quote:
What was your solution? C. |
Strangely enough, if I save the RSS html file to my server and have Articlebot read it off the file (as html), it works fine.. But if it tries to get the feed directly from the feed server it doesn't work. Guess I'll have to write a cron that saves the feeds to my server!
-Victor Quote:
|
This fixed the articlebot HTML encoding problem for me :
In the articlebot/articlebot.php change: Code:
$article['description'] = strip_tags(htmlspecialchars($article['description'])); HTML now doesn't need to be enabled (which is a security risk). |
Quote:
This is nuts. Is there a better way to have it check for dupes? I know in the other RSS feed hack they have sorted that out. I would like to see that in this one. :\ |
i had the problem of reoccuring threads by my bot too...
the reason was an additional space in the "title-tag"! instead of <title>here the headline</title> there was <title>here the headline </title> in the rss-feed. so the bot couldn't recognize, that the thread (without the whitespace) still exists. my sollution: find: Code:
if (!$articlebot['lastpost'] && (--$articlebot['initialtrim'] > 0)) Code:
$article['title'] = trim($article['title']); |
now it is working fine again! :)[/QUOTE]The .php file is ready for cron, to save a query could we setup this through the scheduler from vbulletin?
|
Quote:
|
I've been meaning to make an update fixing the bugs discussed so far, but just haven't had the time.
Probably at the weekend I will do so. Do the trimming of the thread title mentioned here, and hopefully that erases some duplicate threads that are only off by whitespace. This hack checks for threads of the same title that already exist, and if they do, it wont post them again. Unless there is a bug. ;) |
Quote:
C. |
Quote:
Code:
chdir('/path/to/forums/'); |
Yes I have...
If this path (chdir) is incorrect, the error is in line 42... But it is correct... If I set the full path to the global.php , I get this error: Code:
Warning: main(./includes/init.php) [function.main]: failed to create stream: No such file or directory in /xxx/html/board/global.php on line 18 |
Well I installed it. I went on add bot and entered the user ID 1.
After it I got following message: Database error in vBulletin 3.0.3: Invalid SQL: SELECT articlebot.userid, articlebot.articlebotid, user.username FROM articlebot LEFT JOIN user USING (userid) WHERE articlebot.userid = 0 mysql error: Table 'help.articlebot' doesn't exist mysql error number: 1146 Date: Tuesday 20th of July 2004 12:12:16 PM Script: http://www.spiritual-connections.com...ebot_admin.php Referer: http://www.spiritual-connections.com...min.php?do=add Username: xxx IP Address: xxxx every time if I am trying to open my forum this appears. Can anybody help me, please |
Quote:
please provide: - where is your forum located? (full path!) you can xxx some chars to mask your path - where is your articlebot.php located? (full path!) - how do you call articlebot.php? cron? direct? Quote:
|
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:
|