#6230 RSS syndication not formatting right

v1.0.0
closed
General
2015-08-20
2013-05-13
Rich Bowen
No

See https://sourceforge.net/p/lportal/news/ for example - blog posts pulled from elsewhere via RSS are displaying as raw HTML.

If you check the Markdown on the blog posts directly, it looks like the html is being escaped during import. eg. The Markdown on this post, starts with:

<p>
<em>// La version française de cet article est là : <a href="http://www.liferay.com/web/sebastien.lemarchand/blog/-/blogs/5-astuces-pour-ameliorer-l%E2%80%99usage-de-la-console-de-script-de-liferay">5 astuces pour améliorer l’usage de la console de script de Liferay</a>.</em></p>
<p>
<em style="line-height: 1.5;"><span style="line-height: 1.5;">// If you use a RSS reader to read this post, please switch to the HTML page to correctly view the code snippets.</span></em></p>
<p>

Discussion


  • Chris Tsai
    2013-05-13

    • Description has changed:

    Diff:

    --- old
    +++ new
    @@ -1,2 +1,11 @@
     See https://sourceforge.net/p/lportal/news/ for example - blog posts pulled from elsewhere via RSS are displaying as raw HTML.
    
    +If you check the Markdown on the blog posts directly, it looks like the html is being escaped during import. eg. The Markdown on [this post](https://sourceforge.net/p/lportal/news/2013/05/5-astuces-pour-am%C3%A9liorer-lusage-de-la-console-de-script-de-liferay/), starts with:
    +
    +~~~~
    +<p>
    +<em>// La version française de cet article est là : <a href="http://www.liferay.com/web/sebastien.lemarchand/blog/-/blogs/5-astuces-pour-ameliorer-l%E2%80%99usage-de-la-console-de-script-de-liferay">5 astuces pour améliorer l’usage de la console de script de Liferay</a>.</em></p>
    +<p>
    +<em style="line-height: 1.5;"><span style="line-height: 1.5;">// If you use a RSS reader to read this post, please switch to the HTML page to correctly view the code snippets.</span></em></p>
    +<p>
    +~~~~
    
     

  • Chris Tsai
    2013-05-13

    • labels: --> support, p2
     
  • Dave Brondsema
    Dave Brondsema
    2013-05-17

    • Milestone: limbo --> forge-jun-06
     
  • Dave Brondsema
    Dave Brondsema
    2013-06-03

    • Size: --> 2
     
  • Cory Johns
    Cory Johns
    2013-06-04

    NB: Chris has been manually fixing these, so the current versions will appear correct even though the issue persists.

     
    • status: open --> in-progress
    • assigned_to: Tim Van Steenburgh
     
    • status: in-progress --> code-review
     
  • forge:tv/6230

    Enable external feeds in production.ini

    forgeblog.exfeed = true
    

    Create blog tool, add offending external feed:

    http://www.liferay.com/c/blogs_aggregator/rss?p_l_id=8440748&companyId=1
    

    Run the pull-rss-feeds cmd in the ForgeBlog tool.

    Refresh blog tool home page, see nicely formatted posts.

     
  • Dave Brondsema
    Dave Brondsema
    2013-06-13

    • status: code-review --> in-progress
     
  • Dave Brondsema
    Dave Brondsema
    2013-06-13

    • status: in-progress --> code-review
    • QA: Dave Brondsema
     
  • Dave Brondsema
    Dave Brondsema
    2013-06-13

    • status: code-review --> closed