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)

romeshomey 07-14-2004 02:41 AM

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?

Velocd 07-14-2004 03:04 AM

Quote:

Not that I need it too, but just pointing that out.
Yep, that's deliberate. I suppose I could make it configurable per RSS, but for a thread to have just a link and title would seem spammish.

Quote:

Also, any article that has a $ sign in it, the $ sign shows up as $
Not sure what you mean. Those two symbols look exactly the same. You have ascii code for it?

romeshomey 07-14-2004 03:07 AM

Quote:

Originally Posted by Velocd
Not sure what you mean. Those two symbols look exactly the same. You have ascii code for it?

It didnt show as I pasted it here, these forums converted it.

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.

romeshomey 07-14-2004 03:37 AM

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..

romeshomey 07-14-2004 03:51 AM

Someone told me to go into the PHP script for the parser (which is the articles.php right?) and change the &gt; with > and &lt; 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..

romeshomey 07-14-2004 05:37 AM

I notice in your code you have
Code:

$article['description'] = strip_tags(htmlspecialchars($article['description']));
I changed it too
Code:

$article['description'] = $article['description'];
Seems to work fine now...... No more <b> </b> Shows up bold now.. Only problem now is there is no space between the bold words and the rest of the article.

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..

romeshomey 07-14-2004 07:00 AM

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...

ranger2kxlt 07-14-2004 05:45 PM

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?

Velocd 07-14-2004 06:46 PM

Quote:

Ok, so everything is working great now except the spacing between the Article and Descritpion.
Normally the article title shouldn't be inside the description, unless you modified the articlebot_post template.

Quote:

Suggestion:
What about the bot having the ability to search the RSS before posting?
Yes, that would be possible. Look at that AnyRSS link mini2 posted first, to see if it is of help.

Quote:

If I set a forum as being not open to new posts, will this still post to that forum?
The articlebot can post in any forum, even those that are closed or not visible.

Frzzy 07-14-2004 07:03 PM

/me clicks install

A question, can the bot recognize and ignore already posted item?


All times are GMT. The time now is 08:29 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.30750 seconds
  • Memory Usage 1,752KB
  • 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_code_printable
  • (6)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