roller-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "David Johnson (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (ROL-2125) Workaround Firefox feed stylesheet issue
Date Sat, 15 Dec 2018 23:21:00 GMT

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

David Johnson resolved ROL-2125.
--------------------------------
    Resolution: Fixed
      Assignee: David Johnson  (was: Roller Unassigned)

> 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: David Johnson
>            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)

Mime
View raw message