Actually, I have a couple more thoughts below ...
Brian Blakeley wrote:
Thanks Allen!
I have added some more information following your comments below:
On Sat, 2006-04-01 at 23:09 -0800, Allen Gilliland wrote:
Dave is the planet guru, so he may have some better answers, but i'll
take a stab ...
Brian Blakeley wrote:
Hi,
I have been trying to get my head around the Planet feature in Roller
2.1 and I am hoping that some of you has some insights to share.
Here are the issues that are perplexing me:
1. Cache Issues:
After a lot of messing around with the configurations Planet suddenly
starting working at CheBlogs.com/ But, I cannot locate any cache
files.
The directory that I set up was {user.home}/roller_data/planet-cache and
I can't see that I am getting any error messages so I assume that the
program is writing the cache files somewhere on my disc.
based on what you said in #3 below it sounds like your planet
functionality is not working. local blogs are pulled using a separate
mechanism which does not require the cache files i don't think.
That makes sense.
The log files indicates a failure for the external blog based on a Cache
Writing error.
WARN 2006-04-02 11:35:59,456 PlanetManagerImpl:getNewEntriesRemote -
ERROR parsing http://www.shaunrichman.org/cgi-bin/blarg.cgi/index.rss :
java.lang.RuntimeException : Attempting to write to cache
bleh. that is a crappy logging message.
it is almost guaranteed that this is some kind of path or permissions
problem, so i would double and triple check that the path is set
correctly and whatever user is running tomcat has permissions to write
to that directory. also, try using a full path rather than one with
"${user.home}".
Whereas the Internal blogs that show up in the logs indicate that the
Last-publish time is null:
WARN 2006-04-02 11:35:53,905
HibernatePlanetManagerImpl:getNewEntriesLocal - Last-publish time null,
skipping local feed [stuartwilliam]
WARN 2006-04-02 11:35:53,952
HibernatePlanetManagerImpl:getNewEntriesLocal - Last-publish time null,
skipping local feed [sunfrog]
WARN 2006-04-02 11:35:53,999
HibernatePlanetManagerImpl:getNewEntriesLocal - Last-publish time null,
skipping local feed [suzy1219]
WARN 2006-04-02 11:35:54,259
HibernatePlanetManagerImpl:getNewEntriesLocal - Last-publish time null,
skipping local feed [testdyx]
What is the naming pattern for these files so that I can try to locate
them?
Is it possible that the Planet is spinning without using a cache file?
i don't think so.
2. Internal Blogs on Planet:
I ran the synchronizing task and it seems to have worked in that all the
weblogs on CheBlogs.com are now being checked for new items for the
Planet.
But, this is not what I want. I want the subscribed blogs only on my
Planet page.
eeks, that is a bug/rfe then.
I agree, especially for a large free public site like Che Blogs.
Wisely, or not, I want to be able to continue to offer free open access
to the site for anyone. However, my hope was that I could use the
Planet feature to separate "the wheat from the chaff" if you will. What
seems to be happening currently is that the Planet offers the Chaffe
more air time;-)
So, ideally I think the planet subscriptions concept should apply to
both external and internal blogs.
one thought here. are you running the SyncWebsitesTask? try starting
over, but don't run that task. i think that task just syncs your roller
weblogs into the planet data model. unfortunately, i think that task
also updates the technorati rankings, but that should be moved into its
own task really.
this may explain why your local weblogs got shoved into planet.
How do I edit the Planet setup to only track the blogs that I manually
add to the list using the administration interface?
not sure that you can do that, but that definitely needs to be supported.
3. External Blogs on Planet:
I have added an outside blog (ie external to CheBlogs.com) and it does
not seem to be getting included on the Planet.
How do I get the task to check the external blog sites properly?
you'd have to consult the logs to see why this isn't working.
-- Allen
The error seen above indicates a problem writing the cache to me. Here
is the setup from my roller.properties file:
# Planet cache must exist and must be writable by Roller process
planet.aggregator.cache.dir=${user.home}/roller_data/planet-cache
So I thought that this should translate to
/BrianB/roller_data/planet-cache
if I ran Roller as BrianB?
But the /BrianB/roller_data/planet-cache directory is empty on my
server.
try the things i mentioned above.
-- Allen
These are the three main (meaning things I can remember right now)
issues that I think I have with the Planet feature at CheBlogs.com/.
Thanks for taking the time to consider this email and please if I have
simply missed the documentation - Just point me to it and I will go
awhile for a bit and try to sort these issues out with the
documentation, before I post more questions.
Thanks everyone!
Brian