vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   HTML code not converting to BBCode (https://vborg.vbsupport.ru/showthread.php?t=192334)

Agentus 09-30-2008 06:06 PM

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?

Digital Jedi 09-30-2008 06:30 PM

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?

Agentus 09-30-2008 06:36 PM

Quote:

Originally Posted by Digital Jedi (Post 1634102)
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.

Digital Jedi 09-30-2008 06:39 PM

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.

Agentus 09-30-2008 06:40 PM

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.

SEOvB 09-30-2008 06:41 PM

is the code simplying being cut off from a limiation in the number of characters the feed is giving your site.

Agentus 09-30-2008 06:42 PM

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 (Post 1634121)
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.

Digital Jedi 09-30-2008 06:45 PM

Mind if we see the feed link?

SEOvB 09-30-2008 06:47 PM

Quote:

Originally Posted by Digital Jedi (Post 1634127)
Mind if we see the feed link?

http://feed.shacknews.com/shackfeed.xml

Agentus 09-30-2008 06:47 PM

Quote:

Originally Posted by Digital Jedi (Post 1634127)
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


All times are GMT. The time now is 03:54 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.01116 seconds
  • Memory Usage 1,738KB
  • 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
  • (1)bbcode_code_printable
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (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