I edited Weblog.vm of the front page to be ## 1) SITE-WIDE entries (the default) ##set($pager = $site.getWeblogEntriesPager($since, $maxResults)) ## 2) PLANET-entries # set($pager = $planet.getAggregationPager($since, $maxResults))
All I get displayed on the front page under the Recent Entries tab is # set($pager = [EMAIL PROTECTED]) What should I see there? Any ideas on what has gone wrong? I have roller-custom properties containing planet.aggregator.cache.dir=/usr/local/roller_data/planetcache planet.aggregator.enabled=true and a planet-custom properties with database conncetion info. John. David Bloom ha scritto: > I have gone thru this recently and the documentation has a few issues. > > Yes, you need a planet-custom properties file like mentioned above. > > also... > > 1) It should be RefreshRollerPlanetTask not RefreshPlanetRollerTask > > 2) The installation guide says the planet cache directory property is > named planet.aggregator.cache.dir, but the planet.properties file > looks like it uses cache.dir > > 3) I set up a blog which i called aggregator which I give a theme of > roller front page... > > My weblog template now has > ## 1) SITE-WIDE entries (the default) > ##set($pager = $site.getWeblogEntriesPager($since, $maxResults)) > ## 2) PLANET-entries > #set($pager = $planet.getAggregationPager($since, $maxResults)) > ## The below pager code should work against either > Now also the planet html pages works 1- the planet blog _must_ be the frontpage blog (this is not optional as I thought). 2- enable "Enable aggregated site-wide frontpage" (this is on by default) 3- in roller-custom.properties planet.aggregator.enabled=true planet.aggregator.cache.dir=/var/cache/roller/planetcache planet.aggregator.guice.module=\ org.apache.roller.weblogger.planet.business.jpa.RollerPlanetModule # Tasks which are enabled. Only tasks listed here will be run. tasks.enabled=ScheduledEntriesTask,ResetHitCountsTask,\ TurnoverReferersTask,PingQueueTask,RefreshRollerPlanetTask,SyncWebsitesTask # Set of page models specifically for site-wide rendering rendering.siteModels=\ org.apache.roller.weblogger.ui.rendering.model.SiteModel,\ org.apache.roller.weblogger.ui.rendering.model.PlanetModel 4- in planet-custom.properties database.configurationType=jdbc database.jdbc.driverClass=org.postgresql.Driver database.jdbc.connectionURL=jdbc:postgresql://127.0.0.1:5432/rollerdb database.jdbc.username=uname database.jdbc.password=pwd 5- create a custom weblog template cloning frontpage, change two lines in Weblog.vm (cange also <id> and <name> in theme.xml): ## 1) SITE-WIDE entries (the default) ##set($pager = $site.getWeblogEntriesPager($since, $maxResults)) ## 2) PLANET-entries #set($pager = $planet.getAggregationPager($since, $maxResults)) ## The below pager code should work against either Edoardo -- Jabber: [EMAIL PROTECTED] tel: 075 9142766
