How to use Feeds using Apache Roller?

View: New views
7 Messages — Rating Filter:   Alert me  

How to use Feeds using Apache Roller?

by raj2202 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Dear Experts,

I am newbie to Roller. I have managed to setup and create a user and blog.

I want to use the roller's FEEDS to display in another site which i am going
to develop.

For example:
 Site A - The new site that i am developing.

 Site B - The Apache Roller, where I am posting the blog content.

Now i wanted to display the content that is being posted in Site B into Site
A, hopeful I may have to use RSS Feeds.

Can any one guide me how to proceed on this ??

Any helpful links/guides are appreciated.

Thanks & Regards,
Raj.

Re: How to use Feeds using Apache Roller?

by Dave-401 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Tue, Oct 27, 2009 at 2:39 AM, Rajasekhar C <raj022281@...> wrote:

> I am newbie to Roller. I have managed to setup and create a user and blog.
>
> I want to use the roller's FEEDS to display in another site which i am going
> to develop.
>
> For example:
>  Site A - The new site that i am developing.
>
>  Site B - The Apache Roller, where I am posting the blog content.
>
> Now i wanted to display the content that is being posted in Site B into Site
> A, hopeful I may have to use RSS Feeds.
>
> Can any one guide me how to proceed on this ??
>
> Any helpful links/guides are appreciated.


Can you be please be more specific in your question. I'm not sure what
you are asking.

Sounds like your steps are:
- setup Roller and create some blogs
- write a web application that reads Roller feeds, parses them and displays them

What part of that do you have a question about?

- Dave

Re: How to use Feeds using Apache Roller?

by raj2202 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Dear Dave,

What you are saying is correct. Please see my comments inline with blue
color highlighted.

>> Setup Roller and create some blogs
[YES, Exactly]

>> Write a web application that reads Roller feeds, parses them and displays
them
[The web application is developed using Magnolia CMS system using the JSP
templates]



Thanks & Regards,
Raj.


On Thu, Oct 29, 2009 at 2:18 PM, Dave <snoopdave@...> wrote:

> On Tue, Oct 27, 2009 at 2:39 AM, Rajasekhar C <raj022281@...> wrote:
> > I am newbie to Roller. I have managed to setup and create a user and
> blog.
> >
> > I want to use the roller's FEEDS to display in another site which i am
> going
> > to develop.
> >
> > For example:
> >  Site A - The new site that i am developing.
> >
> >  Site B - The Apache Roller, where I am posting the blog content.
> >
> > Now i wanted to display the content that is being posted in Site B into
> Site
> > A, hopeful I may have to use RSS Feeds.
> >
> > Can any one guide me how to proceed on this ??
> >
> > Any helpful links/guides are appreciated.
>
>
> Can you be please be more specific in your question. I'm not sure what
> you are asking.
>
> Sounds like your steps are:
> - setup Roller and create some blogs
> - write a web application that reads Roller feeds, parses them and displays
> them
>
> What part of that do you have a question about?
>
> - Dave
>



--
C. Rajasekhar
Senior Software Enginner,
Buzznet Sdn Bhd,
Malaysia.

Re: How to use Feeds using Apache Roller?

by Anil Gangolli :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


That question quickly gets out of the scope of this forum, which is
about only the Roller side of this.

Depending on how simple your output format, you may be able to get by
with just applying a stylesheet to the xml output. Google "applying a
stylesheet to rss xml" will give you some examples.

To get richer, you can pull the content from the feed URLs offered by
Roller, parse it and then display it in the way you want.  Some
references you might want to check out:

http://java-source.net/open-source/rss-rdf-tools has a number of tools
you might find useful.  Roller uses ROME internally.

http://blogapps.dev.java.net/ has some useful if perhaps dated examples

http://commons.apache.org/sandbox/feedparser/ is a sandbox sub-project
of Apache Jakarta Commons that you might want to look at.  I am not very
familiar with it myself.

I don't know what facilities Magnolia might provide for doing this sort
of thing.

--a.



Rajasekhar C wrote:

> Dear Dave,
>
> What you are saying is correct. Please see my comments inline with blue
> color highlighted.
>
>  
>>> Setup Roller and create some blogs
>>>      
> [YES, Exactly]
>
>  
>>> Write a web application that reads Roller feeds, parses them and displays
>>>      
> them
> [The web application is developed using Magnolia CMS system using the JSP
> templates]
>
>
>
> Thanks & Regards,
> Raj.
>
>
> On Thu, Oct 29, 2009 at 2:18 PM, Dave <snoopdave@...> wrote:
>
>  
>> On Tue, Oct 27, 2009 at 2:39 AM, Rajasekhar C <raj022281@...> wrote:
>>    
>>> I am newbie to Roller. I have managed to setup and create a user and
>>>      
>> blog.
>>    
>>> I want to use the roller's FEEDS to display in another site which i am
>>>      
>> going
>>    
>>> to develop.
>>>
>>> For example:
>>>  Site A - The new site that i am developing.
>>>
>>>  Site B - The Apache Roller, where I am posting the blog content.
>>>
>>> Now i wanted to display the content that is being posted in Site B into
>>>      
>> Site
>>    
>>> A, hopeful I may have to use RSS Feeds.
>>>
>>> Can any one guide me how to proceed on this ??
>>>
>>> Any helpful links/guides are appreciated.
>>>      
>> Can you be please be more specific in your question. I'm not sure what
>> you are asking.
>>
>> Sounds like your steps are:
>> - setup Roller and create some blogs
>> - write a web application that reads Roller feeds, parses them and displays
>> them
>>
>> What part of that do you have a question about?
>>
>> - Dave
>>
>>    
>
>
>
>  


Re: How to use Feeds using Apache Roller?

by raj2202 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Thanks for the reply Anil.

I need some more information; Once I create a blog in apache roller, I found
the following code in view page source:

* <link rel="EditURI"   type="application/rsd+xml" title="RSD" href="
http://localhost:8080/roller/raj123/rsd"/>

<link rel="alternate" type="application/atom+xml" title="Recent Entries
(Atom)"  href="http://localhost:8080/roller/raj123/feed/entries/atom" />
    <link rel="alternate" type="application/rss+xml"  title="Recent Entries
(RSS)"   href="http://localhost:8080/roller/raj123/feed/entries/rss" />

    <link rel="alternate" type="application/atom+xml" title="Recent Comments
(Atom)" href="http://localhost:8080/roller/raj123/feed/comments/atom" />

    <link rel="alternate" type="application/rss+xml"  title="Recent Comments
(RSS)"  href="http://localhost:8080/roller/raj123/feed/comments/rss" />*


In the RSS Reader client, i have added the following URL:
http://localhost:8080/roller/raj123/feed/entries/rss

I am able to see the blogs that are created under "raj123".

Can I assume that the URL:
http://localhost:8080/roller/{BLOG_NAME}/feed/entries/rss
will be the RSS FEED provider in Apache Roller ??

Where can I find the rss feeds xml/atoms that are being stored ?

Thanks & Regards,
Raj.





On Fri, Oct 30, 2009 at 11:13 PM, Anil Gangolli <anil@...> wrote:

>
> That question quickly gets out of the scope of this forum, which is about
> only the Roller side of this.
>
> Depending on how simple your output format, you may be able to get by with
> just applying a stylesheet to the xml output. Google "applying a stylesheet
> to rss xml" will give you some examples.
>
> To get richer, you can pull the content from the feed URLs offered by
> Roller, parse it and then display it in the way you want.  Some references
> you might want to check out:
>
> http://java-source.net/open-source/rss-rdf-tools has a number of tools you
> might find useful.  Roller uses ROME internally.
>
> http://blogapps.dev.java.net/ has some useful if perhaps dated examples
>
> http://commons.apache.org/sandbox/feedparser/ is a sandbox sub-project of
> Apache Jakarta Commons that you might want to look at.  I am not very
> familiar with it myself.
>
> I don't know what facilities Magnolia might provide for doing this sort of
> thing.
>
> --a.
>
>
>
>
> Rajasekhar C wrote:
>
>> Dear Dave,
>>
>> What you are saying is correct. Please see my comments inline with blue
>> color highlighted.
>>
>>
>>
>>> Setup Roller and create some blogs
>>>>
>>>>
>>> [YES, Exactly]
>>
>>
>>
>>> Write a web application that reads Roller feeds, parses them and displays
>>>>
>>>>
>>> them
>> [The web application is developed using Magnolia CMS system using the JSP
>> templates]
>>
>>
>>
>> Thanks & Regards,
>> Raj.
>>
>>
>> On Thu, Oct 29, 2009 at 2:18 PM, Dave <snoopdave@...> wrote:
>>
>>
>>
>>> On Tue, Oct 27, 2009 at 2:39 AM, Rajasekhar C <raj022281@...>
>>> wrote:
>>>
>>>
>>>> I am newbie to Roller. I have managed to setup and create a user and
>>>>
>>>>
>>> blog.
>>>
>>>
>>>> I want to use the roller's FEEDS to display in another site which i am
>>>>
>>>>
>>> going
>>>
>>>
>>>> to develop.
>>>>
>>>> For example:
>>>>  Site A - The new site that i am developing.
>>>>
>>>>  Site B - The Apache Roller, where I am posting the blog content.
>>>>
>>>> Now i wanted to display the content that is being posted in Site B into
>>>>
>>>>
>>> Site
>>>
>>>
>>>> A, hopeful I may have to use RSS Feeds.
>>>>
>>>> Can any one guide me how to proceed on this ??
>>>>
>>>> Any helpful links/guides are appreciated.
>>>>
>>>>
>>> Can you be please be more specific in your question. I'm not sure what
>>> you are asking.
>>>
>>> Sounds like your steps are:
>>> - setup Roller and create some blogs
>>> - write a web application that reads Roller feeds, parses them and
>>> displays
>>> them
>>>
>>> What part of that do you have a question about?
>>>
>>> - Dave
>>>
>>>
>>>
>>
>>
>>
>>
>>
>
>

Re: How to use Feeds using Apache Roller?

by Anil Gangolli :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message



> Can I assume that the URL:
> http://localhost:8080/roller/{BLOG_NAME}/feed/entries/rss
> will be the RSS FEED provider in Apache Roller ??
Yes, that is the feed for entries.   There is a separate feed for comments.
Where you've written {BLOG_NAME}, it's actually the blog's "handle" you
chose when creating the blog, and the base part of the URL
http://localhost:8080/roller is determined by the absolute URL to your
site configured in the Server Admin -> Site Settings or otherwise
deduced on first access.

--a.



Rajasekhar C wrote:

> Thanks for the reply Anil.
>
> I need some more information; Once I create a blog in apache roller, I found
> the following code in view page source:
>
> * <link rel="EditURI"   type="application/rsd+xml" title="RSD" href="
> http://localhost:8080/roller/raj123/rsd"/>
>
> <link rel="alternate" type="application/atom+xml" title="Recent Entries
> (Atom)"  href="http://localhost:8080/roller/raj123/feed/entries/atom" />
>     <link rel="alternate" type="application/rss+xml"  title="Recent Entries
> (RSS)"   href="http://localhost:8080/roller/raj123/feed/entries/rss" />
>
>     <link rel="alternate" type="application/atom+xml" title="Recent Comments
> (Atom)" href="http://localhost:8080/roller/raj123/feed/comments/atom" />
>
>     <link rel="alternate" type="application/rss+xml"  title="Recent Comments
> (RSS)"  href="http://localhost:8080/roller/raj123/feed/comments/rss" />*
>
>
> In the RSS Reader client, i have added the following URL:
> http://localhost:8080/roller/raj123/feed/entries/rss
>
> I am able to see the blogs that are created under "raj123".
>
> Can I assume that the URL:
> http://localhost:8080/roller/{BLOG_NAME}/feed/entries/rss
> will be the RSS FEED provider in Apache Roller ??
>
> Where can I find the rss feeds xml/atoms that are being stored ?
>
> Thanks & Regards,
> Raj.
>
>
>
>
>
> On Fri, Oct 30, 2009 at 11:13 PM, Anil Gangolli <anil@...> wrote:
>
>  
>> That question quickly gets out of the scope of this forum, which is about
>> only the Roller side of this.
>>
>> Depending on how simple your output format, you may be able to get by with
>> just applying a stylesheet to the xml output. Google "applying a stylesheet
>> to rss xml" will give you some examples.
>>
>> To get richer, you can pull the content from the feed URLs offered by
>> Roller, parse it and then display it in the way you want.  Some references
>> you might want to check out:
>>
>> http://java-source.net/open-source/rss-rdf-tools has a number of tools you
>> might find useful.  Roller uses ROME internally.
>>
>> http://blogapps.dev.java.net/ has some useful if perhaps dated examples
>>
>> http://commons.apache.org/sandbox/feedparser/ is a sandbox sub-project of
>> Apache Jakarta Commons that you might want to look at.  I am not very
>> familiar with it myself.
>>
>> I don't know what facilities Magnolia might provide for doing this sort of
>> thing.
>>
>> --a.
>>
>>
>>
>>
>> Rajasekhar C wrote:
>>
>>    
>>> Dear Dave,
>>>
>>> What you are saying is correct. Please see my comments inline with blue
>>> color highlighted.
>>>
>>>
>>>
>>>      
>>>> Setup Roller and create some blogs
>>>>        
>>>>>          
>>>> [YES, Exactly]
>>>>        
>>>
>>>      
>>>> Write a web application that reads Roller feeds, parses them and displays
>>>>        
>>>>>          
>>>> them
>>>>        
>>> [The web application is developed using Magnolia CMS system using the JSP
>>> templates]
>>>
>>>
>>>
>>> Thanks & Regards,
>>> Raj.
>>>
>>>
>>> On Thu, Oct 29, 2009 at 2:18 PM, Dave <snoopdave@...> wrote:
>>>
>>>
>>>
>>>      
>>>> On Tue, Oct 27, 2009 at 2:39 AM, Rajasekhar C <raj022281@...>
>>>> wrote:
>>>>
>>>>
>>>>        
>>>>> I am newbie to Roller. I have managed to setup and create a user and
>>>>>
>>>>>
>>>>>          
>>>> blog.
>>>>
>>>>
>>>>        
>>>>> I want to use the roller's FEEDS to display in another site which i am
>>>>>
>>>>>
>>>>>          
>>>> going
>>>>
>>>>
>>>>        
>>>>> to develop.
>>>>>
>>>>> For example:
>>>>>  Site A - The new site that i am developing.
>>>>>
>>>>>  Site B - The Apache Roller, where I am posting the blog content.
>>>>>
>>>>> Now i wanted to display the content that is being posted in Site B into
>>>>>
>>>>>
>>>>>          
>>>> Site
>>>>
>>>>
>>>>        
>>>>> A, hopeful I may have to use RSS Feeds.
>>>>>
>>>>> Can any one guide me how to proceed on this ??
>>>>>
>>>>> Any helpful links/guides are appreciated.
>>>>>
>>>>>
>>>>>          
>>>> Can you be please be more specific in your question. I'm not sure what
>>>> you are asking.
>>>>
>>>> Sounds like your steps are:
>>>> - setup Roller and create some blogs
>>>> - write a web application that reads Roller feeds, parses them and
>>>> displays
>>>> them
>>>>
>>>> What part of that do you have a question about?
>>>>
>>>> - Dave
>>>>
>>>>
>>>>
>>>>        
>>>
>>>
>>>
>>>      
>>    
>
>  


Re: How to use Feeds using Apache Roller?

by raj2202 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Thanks Anil,




On Sun, Nov 8, 2009 at 8:39 AM, Anil Gangolli <anil@...> wrote:

>
>
>  Can I assume that the URL:
>> http://localhost:8080/roller/{BLOG_NAME}/feed/entries/rss<http://localhost:8080/roller/%7BBLOG_NAME%7D/feed/entries/rss>
>> will be the RSS FEED provider in Apache Roller ??
>>
> Yes, that is the feed for entries.   There is a separate feed for comments.
> Where you've written {BLOG_NAME}, it's actually the blog's "handle" you
> chose when creating the blog, and the base part of the URL
> http://localhost:8080/roller is determined by the absolute URL to your
> site configured in the Server Admin -> Site Settings or otherwise deduced on
> first access.
>
> --a.
>
>
>
>
> Rajasekhar C wrote:
>
>> Thanks for the reply Anil.
>>
>> I need some more information; Once I create a blog in apache roller, I
>> found
>> the following code in view page source:
>>
>> * <link rel="EditURI"   type="application/rsd+xml" title="RSD" href="
>> http://localhost:8080/roller/raj123/rsd"/>
>>
>> <link rel="alternate" type="application/atom+xml" title="Recent Entries
>> (Atom)"  href="http://localhost:8080/roller/raj123/feed/entries/atom" />
>>    <link rel="alternate" type="application/rss+xml"  title="Recent Entries
>> (RSS)"   href="http://localhost:8080/roller/raj123/feed/entries/rss" />
>>
>>    <link rel="alternate" type="application/atom+xml" title="Recent
>> Comments
>> (Atom)" href="http://localhost:8080/roller/raj123/feed/comments/atom" />
>>
>>    <link rel="alternate" type="application/rss+xml"  title="Recent
>> Comments
>> (RSS)"  href="http://localhost:8080/roller/raj123/feed/comments/rss" />*
>>
>>
>> In the RSS Reader client, i have added the following URL:
>> http://localhost:8080/roller/raj123/feed/entries/rss
>>
>> I am able to see the blogs that are created under "raj123".
>>
>> Can I assume that the URL:
>> http://localhost:8080/roller/{BLOG_NAME}/feed/entries/rss<http://localhost:8080/roller/%7BBLOG_NAME%7D/feed/entries/rss>
>> will be the RSS FEED provider in Apache Roller ??
>>
>> Where can I find the rss feeds xml/atoms that are being stored ?
>>
>> Thanks & Regards,
>> Raj.
>>
>>
>>
>>
>>
>> On Fri, Oct 30, 2009 at 11:13 PM, Anil Gangolli <anil@...>
>> wrote:
>>
>>
>>
>>> That question quickly gets out of the scope of this forum, which is about
>>> only the Roller side of this.
>>>
>>> Depending on how simple your output format, you may be able to get by
>>> with
>>> just applying a stylesheet to the xml output. Google "applying a
>>> stylesheet
>>> to rss xml" will give you some examples.
>>>
>>> To get richer, you can pull the content from the feed URLs offered by
>>> Roller, parse it and then display it in the way you want.  Some
>>> references
>>> you might want to check out:
>>>
>>> http://java-source.net/open-source/rss-rdf-tools has a number of tools
>>> you
>>> might find useful.  Roller uses ROME internally.
>>>
>>> http://blogapps.dev.java.net/ has some useful if perhaps dated examples
>>>
>>> http://commons.apache.org/sandbox/feedparser/ is a sandbox sub-project
>>> of
>>> Apache Jakarta Commons that you might want to look at.  I am not very
>>> familiar with it myself.
>>>
>>> I don't know what facilities Magnolia might provide for doing this sort
>>> of
>>> thing.
>>>
>>> --a.
>>>
>>>
>>>
>>>
>>> Rajasekhar C wrote:
>>>
>>>
>>>
>>>> Dear Dave,
>>>>
>>>> What you are saying is correct. Please see my comments inline with blue
>>>> color highlighted.
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>> Setup Roller and create some blogs
>>>>>
>>>>>
>>>>>>
>>>>>>
>>>>> [YES, Exactly]
>>>>>
>>>>>
>>>>
>>>>
>>>>
>>>>> Write a web application that reads Roller feeds, parses them and
>>>>> displays
>>>>>
>>>>>
>>>>>>
>>>>>>
>>>>> them
>>>>>
>>>>>
>>>> [The web application is developed using Magnolia CMS system using the
>>>> JSP
>>>> templates]
>>>>
>>>>
>>>>
>>>> Thanks & Regards,
>>>> Raj.
>>>>
>>>>
>>>> On Thu, Oct 29, 2009 at 2:18 PM, Dave <snoopdave@...> wrote:
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>> On Tue, Oct 27, 2009 at 2:39 AM, Rajasekhar C <raj022281@...>
>>>>> wrote:
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>> I am newbie to Roller. I have managed to setup and create a user and
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>> blog.
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>> I want to use the roller's FEEDS to display in another site which i am
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>> going
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>> to develop.
>>>>>>
>>>>>> For example:
>>>>>>  Site A - The new site that i am developing.
>>>>>>
>>>>>>  Site B - The Apache Roller, where I am posting the blog content.
>>>>>>
>>>>>> Now i wanted to display the content that is being posted in Site B
>>>>>> into
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>> Site
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>> A, hopeful I may have to use RSS Feeds.
>>>>>>
>>>>>> Can any one guide me how to proceed on this ??
>>>>>>
>>>>>> Any helpful links/guides are appreciated.
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>> Can you be please be more specific in your question. I'm not sure what
>>>>> you are asking.
>>>>>
>>>>> Sounds like your steps are:
>>>>> - setup Roller and create some blogs
>>>>> - write a web application that reads Roller feeds, parses them and
>>>>> displays
>>>>> them
>>>>>
>>>>> What part of that do you have a question about?
>>>>>
>>>>> - Dave
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>
>>>
>>
>>
>>
>
>