roller-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dave <snoopd...@gmail.com>
Subject Re: Roller 4.0 and Roller Planet Issue
Date Mon, 07 Jan 2008 17:07:32 GMT
On Jan 7, 2008 11:38 AM, Nate Keegan <nate.keegan@cityofprescott.net> wrote:
> I have items in the rag_entry table that are consistent with blog
> entries on my site.

If that is the case, then you should be seeing entries on the front
page of your Roller site.

Since you are not, I wonder if you have the Planet model configured correctly.

Try putting the string $planet somewhere in your front-page template.
What do you see when the front page renders? If you just see the word
$planet that means that the PlanetModel is not configured for your
blog. Make sure that your blog is 1) the front page blog of your site
and 2) configured as the aggregated front page.


> The only feed I have active in my subscriptions is this:
> http://viking:8080/roller/planetrss (myself basically if I understand
> this correctly)

There is really no reason to subscribe to the Planet feed of your own
site. I would remove that subscription and then add a valid RSS feed
to the subscriptions list just so we can see if the aggregator is
running.

What do you have in your rag_subscriptions table?

- Dave


> Dave wrote:
> > On Jan 4, 2008 5:43 PM, Nate Keegan <nate.keegan@cityofprescott.net> wrote:
> >
> >> I set tasks.RefreshRollerPlanetTask.interval to 5 (minutes) to speed
> >> things up a bit in terms of troubleshooting.
> >>
> >> This is what I am seeing in the logs...
> >>
> >> 1. Created an entry on a blog in my development site:
> >>
> >> DEBUG 2008-01-04 15:37:08,094 WebloggerRuntimeConfig:getProperty -
> >> fetched property [site.absoluteurl=http://viking:8080/roller/]
> >> DEBUG 2008-01-04 15:37:08,097 WebloggerRuntimeConfig:getProperty -
> >> fetched property [site.absoluteurl=http://viking:8080/roller/]
> >> DEBUG 2008-01-04 15:37:08,101 WebloggerRuntimeConfig:getProperty -
> >> fetched property [site.absoluteurl=http://viking:8080/roller/]
> >> DEBUG 2008-01-04 15:37:08,135 VelocityRenderer:render - Rendered
> >> [415451e9-dea6-4339-a711-f427a5f43d3b] in 1 secs
> >> DEBUG 2008-01-04 15:37:08,138 CachedContent:flush - FLUSHED 20968
> >> DEBUG 2008-01-04 15:37:08,141 CachedContent:close - CLOSED
> >> DEBUG 2008-01-04 15:37:08,143 PageServlet:doGet - Flushing response output
> >> DEBUG 2008-01-04 15:37:08,147 PageServlet:doGet - PUT
> >> cache.sitewide:page/planet/page=0/user=nkeegan
> >> DEBUG 2008-01-04 15:37:08,149 SiteWideCache:put - PUT
> >> cache.sitewide:page/planet/page=0/user=nkeegan
> >>
> >> I see stuff like this:
> >>
> >> DEBUG 2008-01-04 15:37:10,522 PersistenceSessionFilter:doFilter -
> >> Releasing Roller Session
> >> DEBUG 2008-01-04 15:37:10,525 WebloggerConfig:getProperty - Fetching
> >> property [planet.aggregator.enabled=true]
> >> DEBUG 2008-01-04 15:37:10,527 PersistenceSessionFilter:doFilter -
> >> Exiting /roller/planet/
> >> DEBUG 2008-01-04 15:37:10,529 BootstrapFilter:doFilter - Exiting
> >> /roller/planet/
> >> DEBUG 2008-01-04 15:37:10,560 CharEncodingFilter:doFilter - Processing
> >> CharEncodingFilter
> >> DEBUG 2008-01-04 15:37:10,561 CharEncodingFilter:doFilter - Set request
> >> character encoding to UTF-8
> >> DEBUG 2008-01-04 15:37:10,563 BootstrapFilter:doFilter - Entered
> >> /roller/images/permalink.gif
> >> DEBUG 2008-01-04 15:37:10,565 PersistenceSessionFilter:doFilter -
> >> Entered /roller/images/permalink.gif
> >> DEBUG 2008-01-04 15:37:10,567 RequestMappingFilter:doFilter - entering
> >> DEBUG 2008-01-04 15:37:10,568 RequestMappingFilter:doFilter - trying
> >>
> >
> > I still don't see evidence that the refresh planet task is actually
> > running, fetching and parsing feeds.
> >
> > Planet reads the rag_subscriptions table and fetches the feed for each
> > subscription.
> > Feeds are cached in the Planet cache directory. When a new feed is
> > detected on a remove server, Planet will fetch a new copy of that feed
> > and put it in the cache.
> >
> > From the looks of your cache, you only have two subscriptions and the
> > are both subscriptions to feeds provided by your Roller server. Is
> > that correct? Do you have other subscriptions? Are there entries in
> > those feeds?
> >
> > Feeds are parsed and added as records in the rag_entry table. When you
> > call $planet.getAggreationPager() you are iterating over the items in
> > that table. Do you see anything in the rag_entries table?
> >
> > - Dave
> >
>

Mime
View raw message