You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@roller.apache.org by "David Johnson (JIRA)" <ji...@apache.org> on 2018/12/09 21:08:00 UTC

[jira] [Updated] (ROL-2125) Workaround Firefox feed stylesheet issue

     [ https://issues.apache.org/jira/browse/ROL-2125?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

David Johnson updated ROL-2125:
-------------------------------
    Issue Type: Improvement  (was: Bug)

> Workaround Firefox feed stylesheet issue
> ----------------------------------------
>
>                 Key: ROL-2125
>                 URL: https://issues.apache.org/jira/browse/ROL-2125
>             Project: Apache Roller
>          Issue Type: Improvement
>            Reporter: David Johnson
>            Assignee: Roller Unassigned
>            Priority: Major
>             Fix For: 5.2.2
>
>
> From Greg Huber:
>  
> BIF. With the pending removal of feed reader and live bookmarks support
>  from Firefox:
>    [https://bugzilla.mozilla.org/show_bug.cgi?id=1477667]
> To make the roller feeds work again in firefox, it needs a workaround:
>    [https://developer.mozilla.org/en-US/docs/Web/API/XSLTProcessor/XSL_Transformations_in_Mozilla_FAQ]
> Just add this to the templates, it creates the 512 bytes comment (variousways of doing it!)
> {code:java}
> <!-- #foreach ($number in [1..153])$foreach.count#end -->{code}
> eg
> {code:java}
> *#<?xml version="1.0" encoding="utf-8"?>
> #if($config.feedStyle)<?xml-stylesheet type="text/xsl"
> href="$url.absoluteSite/roller-ui/styles/rss.xsl" media="screen"?><!--
> #foreach ($number in [1..153])$foreach.count#end -->#end
> <rss version="2.0"
> {code}
> In the end I just created a macro with a content of
> {code:java}
> <!-- 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153
> -->
> {code}
> as I thought it was much longer, rather than the foreach.
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)