You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@roller.apache.org by Lena <lr...@flexsoft.com.au> on 2006/09/19 01:18:44 UTC
Trackback Autodiscovery problem
Hi folks,
I have a problem inserting a trackback auto-discovery rdf comment into html
(either directly into a template or by calling showTrackbackAutodiscovery
macro) - some of Velocity variables don't display their values. Here is what
I get:
<!--
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/"
xmlns:dc="http://purl.org/dc/elements/1.1/">
<rdf:Description
rdf:about="www.myhost.com$entry.permaLink"
trackback:ping="www.myhost.com/trackback/myblog/Weblog/$utilities.encode($entry.anchor)"
dc:title="$entry.title"
dc:identifier="www.myhost.com$entry.permaLink"
dc:subject="$entry.category.name"
dc:description="$entry.title"
dc:creator="$entry.creator.userName"
dc:date="$entry.pubTime" />
</rdf:RDF>
-->
I'm using Roller 2.3. Nobody seemed to have this problem before. What should
I do to make it work?
Thanks in advance,
Lena
--
View this message in context: http://www.nabble.com/Trackback-Autodiscovery-problem-tf2296018s12275.html#a6379324
Sent from the Roller - User mailing list archive at Nabble.com.
Re: Trackback Autodiscovery problem
Posted by Lena <lr...@flexsoft.com.au>.
Thank you, that helped.
-Lena
Anil Gangolli wrote:
>
>
> I tried the same fragment on a test blog of mine (also running 2.3) and
> all
> of the references were expanded properly.
>
> If you've got a typical _day template, make sure your RDF fragment is
> actually within the #foreach ($entry in $entries) loop. Otherwise $entry
> will not be defined (only $entries is).
>
> --a.
>
>
> ----- Original Message -----
> From: "Lena" <lr...@flexsoft.com.au>
> To: <ro...@incubator.apache.org>
> Sent: Monday, September 18, 2006 4:18 PM
> Subject: Trackback Autodiscovery problem
>
>
>>
>> Hi folks,
>>
>> I have a problem inserting a trackback auto-discovery rdf comment into
>> html
>> (either directly into a template or by calling showTrackbackAutodiscovery
>> macro) - some of Velocity variables don't display their values. Here is
>> what
>> I get:
>>
>> <!--
>> <rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
>>
>> xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/"
>> xmlns:dc="http://purl.org/dc/elements/1.1/">
>> <rdf:Description
>> rdf:about="www.myhost.com$entry.permaLink"
>>
>> trackback:ping="www.myhost.com/trackback/myblog/Weblog/$utilities.encode($entry.anchor)"
>> dc:title="$entry.title"
>> dc:identifier="www.myhost.com$entry.permaLink"
>> dc:subject="$entry.category.name"
>> dc:description="$entry.title"
>> dc:creator="$entry.creator.userName"
>> dc:date="$entry.pubTime" />
>> </rdf:RDF>
>> -->
>>
>> I'm using Roller 2.3. Nobody seemed to have this problem before. What
>> should
>> I do to make it work?
>>
>> Thanks in advance,
>>
>> Lena
>> --
>> View this message in context:
>> http://www.nabble.com/Trackback-Autodiscovery-problem-tf2296018s12275.html#a6379324
>> Sent from the Roller - User mailing list archive at Nabble.com.
>>
>
>
>
--
View this message in context: http://www.nabble.com/Trackback-Autodiscovery-problem-tf2296018s12275.html#a6382324
Sent from the Roller - User mailing list archive at Nabble.com.
Re: Trackback Autodiscovery problem
Posted by Anil Gangolli <an...@busybuddha.org>.
I tried the same fragment on a test blog of mine (also running 2.3) and all
of the references were expanded properly.
If you've got a typical _day template, make sure your RDF fragment is
actually within the #foreach ($entry in $entries) loop. Otherwise $entry
will not be defined (only $entries is).
--a.
----- Original Message -----
From: "Lena" <lr...@flexsoft.com.au>
To: <ro...@incubator.apache.org>
Sent: Monday, September 18, 2006 4:18 PM
Subject: Trackback Autodiscovery problem
>
> Hi folks,
>
> I have a problem inserting a trackback auto-discovery rdf comment into
> html
> (either directly into a template or by calling showTrackbackAutodiscovery
> macro) - some of Velocity variables don't display their values. Here is
> what
> I get:
>
> <!--
> <rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
>
> xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/"
> xmlns:dc="http://purl.org/dc/elements/1.1/">
> <rdf:Description
> rdf:about="www.myhost.com$entry.permaLink"
>
> trackback:ping="www.myhost.com/trackback/myblog/Weblog/$utilities.encode($entry.anchor)"
> dc:title="$entry.title"
> dc:identifier="www.myhost.com$entry.permaLink"
> dc:subject="$entry.category.name"
> dc:description="$entry.title"
> dc:creator="$entry.creator.userName"
> dc:date="$entry.pubTime" />
> </rdf:RDF>
> -->
>
> I'm using Roller 2.3. Nobody seemed to have this problem before. What
> should
> I do to make it work?
>
> Thanks in advance,
>
> Lena
> --
> View this message in context:
> http://www.nabble.com/Trackback-Autodiscovery-problem-tf2296018s12275.html#a6379324
> Sent from the Roller - User mailing list archive at Nabble.com.
>