I put $planet on the template (custom template is based on basic theme)
and here is what I see on the front page:
[EMAIL PROTECTED]
The following are the only changes made to the basic template (i.e. the
template that this is based on was Basic) for the front page blog:
<changes>
$planet
#set($maxResults = 25)
#set($since = 365)
#set($pager = $planet.getAggregationPager($since, $maxResults))
</changes>
I went ahead and removed the subscription to myself. I also went ahead
and added a feed from the front page at JRoller as a subscription
(http://www.jroller.com/frontpage/feed/entries/rss) and restarted GlassFish.
I can see entries from JRoller in my rag_entry table as well as my own
blog site entries.
In my rag_subscription I see two entries:
JRoller with the feed url
http://www.jroller.com/frontpage/feed/entries/rss and the site_url
http://www.jroller.com and my own site with a URL of
weblogger:kungfugrip (the front page blog) and the site_url
http://viking:8080/roller/kungfugrip
The only thing I see in serverlog is this (which may or may not be relevant)
[#|2008-01-07T11:14:47.238-0700|WARNING|sun-appserver9.1|org.apache.coyote.tomcat5.CoyoteRequest|_ThreadID=16;_ThreadName=httpSSLWor
kerThread-8080-1;_RequestID=3a85ce54-d48b-4d2b-8d69-88a253c20a42;|PWC4011:
Unable to set request character encoding to UTF-8 from co
ntext /roller, because request parameters have already been read, or
ServletRequest.getReader() has already been called|#]
Viewing the front page blog does not show anything other than the
$planet information
Basically everything looks good except nothing renders out on the front
page blog.
Server Administration settings:
Handle of weblog to serve as frontpage blog: kungfugrip
Enable aggregated site-wide frontpage is checked
Absolute URL to site is http://viking:8080/roller
Planet Admin settings
Absolute URL to Planet page is http://viking:8080/roller/kungfugrip
One subscription to JRoller
http://www.jroller.com/frontpage/feed/entries/rss
Dave wrote:
On Jan 7, 2008 11:38 AM, Nate Keegan <[EMAIL PROTECTED]> 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 <[EMAIL PROTECTED]> 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