Well, the first thing to check is that the planet model is working
properly for that weblog, so you should be able to just put ...
$planet
somewhere in your template and it will print out something with a java
hashcode, etc indicating that object is actually valid. if it doesn't
do that and you just see "$planet" printed out then your problem is that
the planet model is not actually available in your templates. the
planet model has to be added manually, so you would have had to do that
at some point.
-- Allen
Thomas-W Hofmann wrote:
Hi,
I have Planet configured to add 2 external feeds.
Everything is working fine except the Frontpage Template
I changed the template to work on the $planet model and added something to
see the number of entries
## 1) SITE-WIDE entries (the default)
## set($pager =
$site.getWeblogEntriesPager($since, $maxResults))
## 2) PLANET-entries
#set($pager = $planet.getAggregationPager($since,
$maxResults))
## 3) FEED-entries
## set($pager =
$planet.getFeedPager("http://www.handelsblatt.com/rss/hb.rdf",
$maxResults))
## The below pager code should work against
either:
<b>ITEMS FOUND : $pager.items.size()</b><br>
The screen output reads ITEMS FOUND : $pager.items.size() - no entries are
shown
$pager seems to be a null pointer for some reason.
I checked the /planetrss/ feed and it works fine.
Any idea if its a bug or I do something wrong ?
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
Thomas
--
Diese E-Mail enthaelt vertrauliche und/oder rechtlich geschuetzte
Informationen. Wenn Sie nicht der richtige Adressat sind oder diese E-Mail
irrtuemlich erhalten haben, informieren Sie bitte sofort den Absender und
vernichten Sie diese Mail. Das unerlaubte Kopieren sowie die unbefugte
Weitergabe dieser Mail ist nicht gestattet.
This e-mail may contain confidential and/or privileged information. If you are
not the intended recipient (or have received this e-mail in error) please
notify the sender immediately and destroy this e-mail. Any unauthorized
copying, disclosure or distribution of the material in this e-mail is strictly
forbidden.