Question displaying RSS aggregator properties (no luck yet)
Posted: Thu Jul 13, 2006 10:46 pm
I updated entries.tpl to include some of the extended properties for the entries in the RSS feed I am aggregating. But for some reason I am not having luck displaying this information. I have tried multiple things but to no avail.
For example I added the following to entries.tpl:
------------------------------------------------------------------------
{if $entry.properties.ep_aggregator_feed eq ""}
<b>No rss value</b>
{/if}
{$entry.properties.ep_aggregator_articleurl}
------------------------------------------------------------------------
So I went into edit mode and previewed the result and the articleurl doesn't appear and it says it echos "No rss value"!! I went into the code and echoed out the entry id and then went into the database and looked for the entries for that entry id in the extendedproperties table. I know those fields have values but for some reason it won't access them. Is there something that I am missing? I went back through the code and edited entries.inc.php and functions_entries_admin.inc.php and am able to display the articleurl that way but for a variety of reasons I would rather use the simpler smarty call.
Is there something I am doing wrong or missing? I know that smarty can read my extendedproperties table because I added an extended field and can properly display that in my entry.. just for some reason I can't access any of the aggregator fields.
Any help would be great!
Evan
For example I added the following to entries.tpl:
------------------------------------------------------------------------
{if $entry.properties.ep_aggregator_feed eq ""}
<b>No rss value</b>
{/if}
{$entry.properties.ep_aggregator_articleurl}
------------------------------------------------------------------------
So I went into edit mode and previewed the result and the articleurl doesn't appear and it says it echos "No rss value"!! I went into the code and echoed out the entry id and then went into the database and looked for the entries for that entry id in the extendedproperties table. I know those fields have values but for some reason it won't access them. Is there something that I am missing? I went back through the code and edited entries.inc.php and functions_entries_admin.inc.php and am able to display the articleurl that way but for a variety of reasons I would rather use the simpler smarty call.
Is there something I am doing wrong or missing? I know that smarty can read my extendedproperties table because I added an extended field and can properly display that in my entry.. just for some reason I can't access any of the aggregator fields.
Any help would be great!
Evan