You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@roller.apache.org by "Vogten, Hubert" <Hu...@ou.nl> on 2008/05/15 12:10:37 UTC

Finding entry for editing via APP ATOM

We have recently installed Roller 4.0. We want to integrate roller in a rich client Java application. For this purpose we would like to use the ATOM app. We have the following problem:

 

We want to show only a filtered list of entries in a feed. We use a  get with a URL like this:  HYPERLINK "http://localhost:8080/roller/fp/feed/entries/atom?tags=eclipse"http://localhost:8080/roller/fp/feed/entries/atom?tags=eclipse

 

This feed will return all entries on the topic eclipse. Next we want to offer the author of an entry the possibility to edit his/her entry. For this we must determine the edit link to the entry. We use an url like this: HYPERLINK "http://localhost:8080/roller/roller-services/app/bko/entries"http://localhost:8080/roller/roller-services/app/bko/entries to retrieve the required link (something in the line of <link rel="edit" href="http://localhost:8080/roller/roller-services/app/bko/entry/eaf76bcf-715e-41fb-a144-63869a19f042" />)

 

However the latter url has the problem that it doesn’t seem to support the filtering we have applied in the first URL. The list are therefore out of sync and we are not capable to determine the url  required for editing an entry.  Is there another way of determining the url to edit a blog entry? 

 

Regards,

 

Hubert Vogten

 

 


No virus found in this outgoing message.
Checked by AVG. 
Version: 7.5.524 / Virus Database: 269.23.16/1433 - Release Date: 14-5-2008 16:44
 

RE: Finding entry for editing via APP ATOM

Posted by "Vogten, Hubert" <Hu...@ou.nl>.
Thanks. We will use your suggested approach.

-----Original Message-----
From: Dave [mailto:snoopdave@gmail.com] 
Sent: donderdag 15 mei 2008 21:15
To: user@roller.apache.org
Subject: Re: Finding entry for editing via APP ATOM

2008/5/15 Vogten, Hubert <Hu...@ou.nl>:
> We have recently installed Roller 4.0. We want to integrate roller in a rich client Java application. For this purpose we would like to use the ATOM app. We have the following problem:
>
> We want to show only a filtered list of entries in a feed. We use a  get with a URL like this:  HYPERLINK "http://localhost:8080/roller/fp/feed/entries/atom?tags=eclipse"http://localhost:8080/roller/fp/feed/entries/atom?tags=eclipse

That's not part of Roller's AtomPub protocol implementation, that is
just a feed.


> This feed will return all entries on the topic eclipse. Next we want to offer the author of an entry the possibility to edit his/her entry. For this we must determine the edit link to the entry. We use an url like this: HYPERLINK "http://localhost:8080/roller/roller-services/app/bko/entries"http://localhost:8080/roller/roller-services/app/bko/entries to retrieve the required link (something in the line of <link rel="edit" href="http://localhost:8080/roller/roller-services/app/bko/entry/eaf76bcf-715e-41fb-a144-63869a19f042" />)
>
> However the latter url has the problem that it doesn't seem to support the filtering we have applied in the first URL. The list are therefore out of sync and we are not capable to determine the url  required for editing an entry.  Is there another way of determining the url to edit a blog entry?

The way to find the Edit URI of an entry is to get the list of entries
from Roller's AtomPub interface, find the entry you want and the use
its Edit URI. Roller's AtomPub interface It does allow you to get the
most recent entries and then page back in time to find more, but it
does not allow you to subset entries by tag, category or any other
criteria.

- Dave

No virus found in this incoming message.
Checked by AVG. 
Version: 7.5.524 / Virus Database: 269.23.16/1445 - Release Date: 15-5-2008 19:25
 

No virus found in this outgoing message.
Checked by AVG. 
Version: 7.5.524 / Virus Database: 269.23.16/1445 - Release Date: 15-5-2008 19:25
 

Re: Finding entry for editing via APP ATOM

Posted by Dave <sn...@gmail.com>.
2008/5/15 Vogten, Hubert <Hu...@ou.nl>:
> We have recently installed Roller 4.0. We want to integrate roller in a rich client Java application. For this purpose we would like to use the ATOM app. We have the following problem:
>
> We want to show only a filtered list of entries in a feed. We use a  get with a URL like this:  HYPERLINK "http://localhost:8080/roller/fp/feed/entries/atom?tags=eclipse"http://localhost:8080/roller/fp/feed/entries/atom?tags=eclipse

That's not part of Roller's AtomPub protocol implementation, that is
just a feed.


> This feed will return all entries on the topic eclipse. Next we want to offer the author of an entry the possibility to edit his/her entry. For this we must determine the edit link to the entry. We use an url like this: HYPERLINK "http://localhost:8080/roller/roller-services/app/bko/entries"http://localhost:8080/roller/roller-services/app/bko/entries to retrieve the required link (something in the line of <link rel="edit" href="http://localhost:8080/roller/roller-services/app/bko/entry/eaf76bcf-715e-41fb-a144-63869a19f042" />)
>
> However the latter url has the problem that it doesn't seem to support the filtering we have applied in the first URL. The list are therefore out of sync and we are not capable to determine the url  required for editing an entry.  Is there another way of determining the url to edit a blog entry?

The way to find the Edit URI of an entry is to get the list of entries
from Roller's AtomPub interface, find the entry you want and the use
its Edit URI. Roller's AtomPub interface It does allow you to get the
most recent entries and then page back in time to find more, but it
does not allow you to subset entries by tag, category or any other
criteria.

- Dave