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 <snoopd...@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 <gregh3...@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
> >
>

Reply via email to