You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@roller.apache.org by Greg Huber <gr...@gmail.com> on 2018/11/30 14:48:16 UTC

rss feeds mozilla

Dave,

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 (various
ways of doing it!)

<!-- #foreach ($number in [1..153])$foreach.count#end -->

eg

*#<?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"
...

Cheers Greg

Re: rss feeds mozilla

Posted by Greg Huber <gr...@gmail.com>.
Dave,

In the end I just created a macro with a content of

<!-- 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153
-->

as I thought it was much longer, rather than the foreach.

Cheers Greg



On Sun, 2 Dec 2018 at 15:54, Dave <sn...@gmail.com> wrote:

> Thanks, I'll take a look at that today along with the Struts/XML thing.
>
> Dave
>
> On Fri, Nov 30, 2018 at 9:48 AM Greg Huber <gr...@gmail.com> wrote:
>
> > Dave,
> >
> > 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 (various
> > ways of doing it!)
> >
> > <!-- #foreach ($number in [1..153])$foreach.count#end -->
> >
> > eg
> >
> > *#<?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"
> > ...
> >
> > Cheers Greg
> >
>

Re: rss feeds mozilla

Posted by Dave <sn...@gmail.com>.
Thanks, I'll take a look at that today along with the Struts/XML thing.

Dave

On Fri, Nov 30, 2018 at 9:48 AM Greg Huber <gr...@gmail.com> wrote:

> Dave,
>
> 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 (various
> ways of doing it!)
>
> <!-- #foreach ($number in [1..153])$foreach.count#end -->
>
> eg
>
> *#<?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"
> ...
>
> Cheers Greg
>