List Info

Thread: Invalid Planet RSS Aggregation Generated




Invalid Planet RSS Aggregation Generated
user name
2007-03-20 15:52:21
I created a Planet RSS aggregation group, and successfully
added several
subscriptions.  However, when I try to view the RSS using
the following
URL,  h
ttp://localhost:8080/roller/planetrss?group=Status

I get invalid XML.  It turns out that the "Read
More" links that get
generated are invalid.  They contain a spurious character at
the start of
the "href" attribute.

[<a href="�http://localhost:8080/roller/mfortner/entr
y/20070320">Read
More</a>]

I can save this file, remove the characters, and the RSS
parses properly.

Can someone take a look at the code that's generating the
feed and fix this?

I looked at the RSS-related issues in JIRA but didn't see a
duplicate
of this issue.

Regards,

Mark Fortner
Re: Invalid Planet RSS Aggregation Generated
user name
2007-03-20 16:21:13
What version of Roller are you using?

Are you using the Read More plugin?

- Dave



On 3/20/07, Mark Fortner <phidias51gmail.com> wrote:
> I created a Planet RSS aggregation group, and
successfully added several
> subscriptions.  However, when I try to view the RSS
using the following
> URL,  h
ttp://localhost:8080/roller/planetrss?group=Status
>
> I get invalid XML.  It turns out that the "Read
More" links that get
> generated are invalid.  They contain a spurious
character at the start of
> the "href" attribute.
>
> [&lt;a href="�http://localhost:8080/roller/mfortner/entr
y/20070320"&gt;Read
> More&lt;/a&gt;]
>
> I can save this file, remove the characters, and the
RSS parses properly.
>
> Can someone take a look at the code that's generating
the feed and fix this?
>
> I looked at the RSS-related issues in JIRA but didn't
see a duplicate
> of this issue.
>
> Regards,
>
> Mark Fortner
>
Re: Invalid Planet RSS Aggregation Generated
user name
2007-03-20 16:28:42
I'm using the latest download available from the site (
version 3.0 ).
I don't think I'm using the Read More plugin.  Is there a
way I can double
check?

Mark

On 3/20/07, Dave <snoopdavegmail.com> wrote:
>
> What version of Roller are you using?
>
> Are you using the Read More plugin?
>
> - Dave
>
>
>
> On 3/20/07, Mark Fortner <phidias51gmail.com> wrote:
> > I created a Planet RSS aggregation group, and
successfully added several
> > subscriptions.  However, when I try to view the
RSS using the following
> > URL,  h
ttp://localhost:8080/roller/planetrss?group=Status
> >
> > I get invalid XML.  It turns out that the
"Read More" links that get
> > generated are invalid.  They contain a spurious
character at the start
> of
> > the "href" attribute.
> >
> > [&lt;a
> href="�http://localhost:8080/roller/mfortner/entr
y/20070320"&gt;Read
> > More&lt;/a&gt;]
> >
> > I can save this file, remove the characters, and
the RSS parses
> properly.
> >
> > Can someone take a look at the code that's
generating the feed and fix
> this?
> >
> > I looked at the RSS-related issues in JIRA but
didn't see a duplicate
> > of this issue.
> >
> > Regards,
> >
> > Mark Fortner
> >
>
Re: Invalid Planet RSS Aggregation Generated
user name
2007-03-20 16:55:27
I also used the following URL (
h
ttp://localhost:8080/roller/bross/feed/entries/rss)
which generated a feed
that contained an atom:summary tag in it.  If I comment out
the tag and
redisplay it in Sage/FireFox, then things are parsed
properly.

Mark

On 3/20/07, Mark Fortner <phidias51gmail.com> wrote:
>
> I'm using the latest download available from the site (
version 3.0 ).
> I don't think I'm using the Read More plugin.  Is there
a way I can double
> check?
>
> Mark
>
> On 3/20/07, Dave <snoopdavegmail.com> wrote:
> >
> > What version of Roller are you using?
> >
> > Are you using the Read More plugin?
> >
> > - Dave
> >
> >
> >
> > On 3/20/07, Mark Fortner <phidias51gmail.com> wrote:
> > > I created a Planet RSS aggregation group, and
successfully added
> > several
> > > subscriptions.  However, when I try to view
the RSS using the
> > following
> > > URL,  h
ttp://localhost:8080/roller/planetrss?group=Status
> > >
> > > I get invalid XML.  It turns out that the
"Read More" links that get
> > > generated are invalid.  They contain a
spurious character at the start
> > of
> > > the "href" attribute.
> > >
> > > [&lt;a
> > href="�http://localhost:8080/roller/mfortner/entr
y/20070320"&gt;Read
> > > More&lt;/a&gt;]
> > >
> > > I can save this file, remove the characters,
and the RSS parses
> > properly.
> > >
> > > Can someone take a look at the code that's
generating the feed and fix
> > this?
> > >
> > > I looked at the RSS-related issues in JIRA
but didn't see a duplicate
> > > of this issue.
> > >
> > > Regards,
> > >
> > > Mark Fortner
> > >
> >
>
>
Re: Invalid Planet RSS Aggregation Generated
user name
2007-03-21 12:36:56
On 3/20/07, Mark Fortner <phidias51gmail.com> wrote:
> I'm using the latest download available from the site (
version 3.0 ).
> I don't think I'm using the Read More plugin.  Is there
a way I can double
> check?

Never mind that question about Read More, I was confused.
The planet
feeds include partial content and a [Read More] link but do
not use
the Read More plugin.

I can't explain how that "?" character got in your
feed URL and I
cannot duplicate it with my Roller 3.0 installation.

- Dave

Re: Invalid Planet RSS Aggregation Generated
user name
2007-03-21 12:39:45
On 3/20/07, Mark Fortner <phidias51gmail.com> wrote:
> I also used the following URL (
> h
ttp://localhost:8080/roller/bross/feed/entries/rss)
which generated a feed
> that contained an atom:summary tag in it.  If I comment
out the tag and
> redisplay it in Sage/FireFox, then things are parsed
properly.

All of the feed readers (including Firefox itself) I've
tested ignore
that <atom:summary> element in the RSS feeds, so
that's an unfortunate
bug in Sage.

Possible work-arounds:
- Use the Atom feed instead
- Use a different feed reader
- Hack the feeds.vm template to remove the
<atom:summary> element from RSS feeds

- Dave

Re: Invalid Planet RSS Aggregation Generated
user name
2007-03-21 15:29:16
Is there any way to get plantrss to return the entire
description instead of
just a partial description?  We'd like to be able to use
Roller to "roll up"
status reports from different groups within our company.

Mark

On 3/21/07, Dave <snoopdavegmail.com> wrote:
>
> On 3/20/07, Mark Fortner <phidias51gmail.com> wrote:
> > I'm using the latest download available from the
site ( version 3.0 ).
> > I don't think I'm using the Read More plugin.  Is
there a way I can
> double
> > check?
>
> Never mind that question about Read More, I was
confused. The planet
> feeds include partial content and a [Read More] link
but do not use
> the Read More plugin.
>
> I can't explain how that "?" character got in
your feed URL and I
> cannot duplicate it with my Roller 3.0 installation.
>
> - Dave
>
Re: Invalid Planet RSS Aggregation Generated
user name
2007-03-21 15:40:38
On 3/21/07, Mark Fortner <phidias51gmail.com> wrote:
> Is there any way to get plantrss to return the entire
description instead of
> just a partial description?  We'd like to be able to
use Roller to "roll up"
> status reports from different groups within our
company.

Yes. You can edit the
WEB-INF/velocity/templates/planet/planetrss.vm file.

Make a back-up first. Refer to docs for Apache Velocity and
the Roller
Template Guide for details on the template language, model
objects and
macros available.

- Dave

[1-8]

about | contact  Other archives ( Real Estate discussion Medical topics )