Forums

Lexi
feeds not displaying as lists anymore (7 posts)

  1. rtomasso
    Member
    Posted 1 year ago #

    I just updated the plugin and now the rss feeds I'm getting are no longer being displayed as a UL but instead just a string of anchors inside a <p>.

    http://wordpress.org/extend/plugins/lexi/

  2. sebaxtian
    Member
    Posted 1 year ago #

    The last release didn't change anything in the rss-reader code. Could you please give me a link to see the bug?

  3. rtomasso
    Member
    Posted 1 year ago #

    It's on a staging server, so I can't. The two feeds are:
    http://feeds.feedburner.com/RRNDNews
    http://reason.tv/news/index.xml
    Both of which appear fine.

    I can paste the html output so you can see what's happening.
    Before, the output I got looked like this:

    <div class="right-widget">
    <div id="lexi351972" class="lexi"><h2 class="widgettitle"><a class="rsswidget" href="http://rationalreview.news-digests.com" title="Rational Review News">Rational Review News</a></h2>
    <ul>
    <li><a class="rsswidget" href="http://feedproxy.google.com/%7Er/RRNDNews/%7E3/qFBN37uD7jA/28070" title="&quot;Forces loyal to Col Muammar Gaddafi...&quot;" target="_blank">Libya: Civil war breaks out as Gaddafi mounts rearguard fight</a></li>
    <li><a class="rsswidget" href="http://feedproxy.google.com/%7Er/RRNDNews/%7E3/m2qF4qlZChY/28014" title="&quot;The Obama administration said...&quot;" target="_blank">Obama regime drops defense of federal marriage apartheid law</a></li>
    <li><a class="rsswidget" href="http://feedproxy.google.com/%7Er/RRNDNews/%7E3/PfRrA90gFYE/28075" title="&quot;The Justice Department under President....&quot;" target="_blank">DoJ drops direct defense of war crimes defendants</a></li>
    <li><a class="rsswidget" href="http://feedproxy.google.com/%7Er/RRNDNews/%7E3/QZS9H8bBc9o/28193" title="&quot;Anti-government demonstrations continued...&quot;" target="_blank">Iraq: Three killed, 55 wounded</a></li>
    <li><a class="rsswidget" href="http://feedproxy.google.com/%7Er/RRNDNews/%7E3/Uh60IiWRozc/28175" title="&quot;Yar Mohammad was in Iran one afternoon...&quot;" target="_blank">US soldier faces trial for murder of Afghan civilian</a></li>
    </ul>
    </div></div>

    And the output from today looks like this:

    <div class="right-widget">
    <div id="lexi178088" class="lexi"><p><a href="http://rationalreview.news-digests.com" title="Rational Review News">Rational Review News</a><a href="http://feedproxy.google.com/%7Er/RRNDNews/%7E3/BVA_agFri7M/30142" title="&quot;The Pentagon has asked...&quot;">Anonymous probed for hack threat against Manning abductors</a><a href="http://feedproxy.google.com/%7Er/RRNDNews/%7E3/mgPJAebCtn8/30160" title="&quot;NPR's chief fundraiser, Ron Schiller...&quot;">Exec: NPR would be better off without taxpayer funding</a><a href="http://feedproxy.google.com/%7Er/RRNDNews/%7E3/E5Av0qhj7vo/30109" title="&quot;More than 65 people have been killed...&quot;">At least 65 killed in Southern Sudan</a><a href="http://feedproxy.google.com/%7Er/RRNDNews/%7E3/AzEtjW8Hp4A/30163" title="&quot;At least eight Iraqis were killed and 13....&quot;">Iraq: Eight killed, 13 wounded</a><a href="http://feedproxy.google.com/%7Er/RRNDNews/%7E3/ixutWGeWCEo/30009" title="&quot;A car bomb exploded near an office of Pakistan's main...&quot;">Pakistan: Bombing near intelligence office kills 25</a></p>
    </div></div>
  4. sebaxtian
    Member
    Posted 1 year ago #

    Disable all other plugins and check again. Maybe another plugin is 'cutting' the list items.

  5. rtomasso
    Member
    Posted 1 year ago #

    Disabling all other plugins and forcing a refresh didn't help.

  6. sebaxtian
    Member
    Posted 1 year ago #

    Are you usign the default theme or are you using a special one? Check changing the theme too in case you are using a different one.

  7. rtomasso
    Member
    Posted 1 year ago #

    I found what was causing the problem, the return line from the rss function was stripping out all the formatting
    return apply_filters('comment_text', $answer).$footer;

    Removing the filter the

      remained intact in the output. I haven't added any comment filters, but somewhere in my theme I'm guessing it won't allow for lists in them.

      Independently of that, I notice if you set the content to be a rollover title, all the html tags of the content remain in there, cluttering up the text.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags