Go Back   vb.org Archive > vBulletin 3 Discussion > vB3 General Discussions

Reply
 
Thread Tools Display Modes
  #1  
Old 09-30-2008, 06:06 PM
Agentus Agentus is offline
 
Join Date: Jun 2008
Posts: 8
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default HTML code not converting to BBCode

Hello...

Using the RSS Feed Manager, the HTML coming from an RSS feed is not properly converting to BBCode. It worked fine for several days and now no longer works on current feeds or any new feeds that are created. I end up with a jumble of HTML code without the < > brackets so it clogs the RSS story up.

Any ideas what would be causing it?
Reply With Quote
  #2  
Old 09-30-2008, 06:30 PM
Digital Jedi's Avatar
Digital Jedi Digital Jedi is offline
 
Join Date: Oct 2006
Location: PopCulturalReferenceLand
Posts: 5,171
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Check the HTML of the feed itself. I've had this happen when the website I'm getting feeds from is using badly constructed code. Also, do you have any modifications which affect posts installed?
Reply With Quote
  #3  
Old 09-30-2008, 06:36 PM
Agentus Agentus is offline
 
Join Date: Jun 2008
Posts: 8
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Digital Jedi View Post
Check the HTML of the feed itself. I've had this happen when the website I'm getting feeds from is using badly constructed code. Also, do you have any modifications which affect posts installed?
The feeds appear fine when viewed through a regular RSS reader. They were also doing fine earlier in the week. Not sure what changed. I am using vBadvanced CMPS, but was doing that before. Only other change I can think of is the style of the board. But switching to the Default Style doesn't help either - even though it worked fine with the new style too.

I can't think of any mods that are installed other than that.... if there is a way to import an RSS xml file that is confirmed "correct" to test, I would like to try that, but I don't know one off the top of my head and am not savvy enough to create one with ease.
Reply With Quote
  #4  
Old 09-30-2008, 06:39 PM
Digital Jedi's Avatar
Digital Jedi Digital Jedi is offline
 
Join Date: Oct 2006
Location: PopCulturalReferenceLand
Posts: 5,171
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I meant check the actual source code of the feeds. HTML will still convert sometimes even when constructed badly, but when vBulletin converts the HTML to BBCode, it can't convert the bad stuff. Things like redundant tags or improperly nested tags can show up poorly and wreck the layout completely upon conversion. Not sure about a import process.
Reply With Quote
  #5  
Old 09-30-2008, 06:40 PM
Agentus Agentus is offline
 
Join Date: Jun 2008
Posts: 8
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Also, if I turn off the "Convert HTML to BBCode" setting, it doesn't change the way the import happens. It still appears to import the RSS feed without the < and > around the HTML codes.
Reply With Quote
  #6  
Old 09-30-2008, 06:41 PM
SEOvB's Avatar
SEOvB SEOvB is offline
 
Join Date: May 2007
Location: Indianapolis
Posts: 2,451
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

is the code simplying being cut off from a limiation in the number of characters the feed is giving your site.
Reply With Quote
  #7  
Old 09-30-2008, 06:42 PM
Agentus Agentus is offline
 
Join Date: Jun 2008
Posts: 8
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

here is a snippet of one of the xml files being imported:

Code:
<item rdf:about="http://www.shacknews.com/onearticle.x/55007">
		<title>Demigod Screenshots Get Angry, Smash Things</title>

		<description>Gas Powered Games' strategy RPG Demigod (PC) has gained five new screenshots.  Here, the player-controlled giant hero can be seen taking on hordes of enemies just like Defense of the Ancients, the Warcraft III modification said to inspire the game.
&lt;/p&gt;&lt;p&gt;
Now in &lt;a href=&quot;http://www.shacknews.com/onearticle.x/54794&quot;&gt;beta testing&lt;/a&gt; for paying pre-order customers, Demigod is set to land in February 2009. 


&lt;/p&gt;&lt;p&gt;
&lt;div class=&quot;focalbox&quot;&gt;&lt;a href=&quot;/screenshots.x?gallery=10780&amp;game_id=4929&amp;id=126441&quot;&gt;&lt;img src=&quot;/images/sshots/Screenshot/10780/10780_48e27b0eea2a9_thumbnail.jpg&quot;&gt;&lt;/a&gt;&lt;a href=&quot;/screenshots.x?gallery=10780&amp;game_id=4929&amp;id=126439&quot;&gt;&lt;img src=&quot;/images/sshots/Screenshot/10780/10780_48e27af8b07ee_thumbnail.jpg&quot;&gt;&lt;/a&gt;&lt;/div&gt;</description>

		<link>http://www.shacknews.com/onearticle.x/55007</link>
		<dc:date>2008-09-30T14:22-06:00</dc:date>
	</item>
--------------- Added [DATE]1222803804[/DATE] at [TIME]1222803804[/TIME] ---------------

Quote:
Originally Posted by FRDS View Post
is the code simplying being cut off from a limiation in the number of characters the feed is giving your site.
Doesn't appear that way - it is removing the < and > tags from the HTML as it is imported from the RSS xml file.
Reply With Quote
  #8  
Old 09-30-2008, 06:45 PM
Digital Jedi's Avatar
Digital Jedi Digital Jedi is offline
 
Join Date: Oct 2006
Location: PopCulturalReferenceLand
Posts: 5,171
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Mind if we see the feed link?
Reply With Quote
  #9  
Old 09-30-2008, 06:47 PM
SEOvB's Avatar
SEOvB SEOvB is offline
 
Join Date: May 2007
Location: Indianapolis
Posts: 2,451
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Digital Jedi View Post
Mind if we see the feed link?
http://feed.shacknews.com/shackfeed.xml
Reply With Quote
  #10  
Old 09-30-2008, 06:47 PM
Agentus Agentus is offline
 
Join Date: Jun 2008
Posts: 8
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Digital Jedi View Post
Mind if we see the feed link?
sure: http://feed.shacknews.com/shackfeed.xml

--------------- Added [DATE]1222804120[/DATE] at [TIME]1222804120[/TIME] ---------------

if you would like to see the site - it's http://www.geeklockdown.com
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 01:58 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04381 seconds
  • Memory Usage 2,255KB
  • Queries Executed 13 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (1)bbcode_code
  • (4)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (10)postbit
  • (10)postbit_onlinestatus
  • (10)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete