List Info

Thread: Re: Unexpected results for RSS enclosure macro




Re: Unexpected results for RSS enclosure macro
user name
2007-01-29 12:28:10
So is there anyway to grab the data from Blojsom?

All the information is in blojsom, once its looked at the
URL right?

David Czarnecki wrote:
> If the fields are blank, they'll need to be set in the
metadata for the
> entry for that to show up correctly.
>
>
> On 1/29/07 12:22 PM, "Mr I Forrester"
<mailboxcubicgarden.com> wrote:
>
>   
>> Can you give me a example just to be clear
>>
>> <enclosure
url="$!entry.getMetaData().get("rss-enclosure"
;)"
>>
length="$!entry.getMetaData("rss-enclosure-object&
quot;).getLength()"
>>
type="$!entry.getMetaData("rss-enclosure-object&qu
ot;).getType()"/>
>>
>> still produces a blank type and length.
>>
>> Ian
>>
>> David Czarnecki wrote:
>>     
>>> Use "rss-enclosure-object" in quotes
in the getMetaData() call since it's a
>>> named key/value pair. That should do it.
>>>
>>>
>>> On 1/29/07 8:45 AM, "Mr I Forrester"
<mailboxcubicgarden.com> wrote:
>>>
>>>   
>>>       
>>>> Hi All,
>>>>
>>>> I'm using Blojsom 2.3.1 and for some reason
the RSS Enclosure macro and
>>>> template code seems to only return the text
of the enclosure in rss2.vm.
>>>> I don't know when this started but I've not
made any major changes recently.
>>>>
>>>> #RSSEnclosure($entry)
>>>>
$!entry.getMetaData().get("rss-enclosure")
>>>>
>>>> For example - 
>>>> http://www.cubicgarden.com/blojs
om/blog/cubicgarden/media/?flavor=rss2&entri
>>>> es
>>>> =5
>>>>
>>>> </description>
>>>> http://blip.tv/file/get/Cubicgarden-G
eekAndGeekhagPodcastNumber22007789.mp3
>>>> <guid>
>>>>
>>>> So following this page
>>>> [http://wiki.blojsom.com/wiki/display/blojsom/RS
S+Enclosure+Plugin] I'm
>>>> attempting to create the enclosure element
myself but I can't seem to
>>>> grab the length and type data. What I'm
currently trying in rss2.vm ...
>>>>         <enclosure
url="$!entry.getMetaData().get("rss-enclosure"
;)"
>>>>
length="$!entry.getMetaData().get(rss-enclosure-object)
.getLength()""
>>>>
type="$!entry.getMetaData().get(rss-enclosure-object).g
etType()"/>
>>>>
>>>> Does anyone know what could be the problem
with the RSS-Enclosure Macro
>>>> or how to grab the other data bits I need
to create my own?
>>>>
>>>> Cheers,
>>>>
>>>> Ian Forrester
>>>>
>>>>
>>>>
------------------------------------------------------------
-------------
>>>> Take Surveys. Earn Cash. Influence the
Future of IT
>>>> Join SourceForge.net's Techsay panel and
you'll get the chance to share your
>>>> opinions on IT & business topics
through brief surveys - and earn cash
>>>> http://www.techsay.com/default.
php?page=join.php&p=sourceforge&CID=DEVDEV
>>>>
_______________________________________________
>>>> Blojsom-users mailing list
>>>> Blojsom-userslists.sourceforge.net
>>>> https://lists.sourceforge.net/lists/listinfo/blojsom-u
sers
>>>>     
>>>>         
>>>   
>>>       
>>
------------------------------------------------------------
-------------
>> Take Surveys. Earn Cash. Influence the Future of
IT
>> Join SourceForge.net's Techsay panel and you'll get
the chance to share your
>> opinions on IT & business topics through brief
surveys - and earn cash
>> http://www.techsay.com/default.
php?page=join.php&p=sourceforge&CID=DEVDEV
>> _______________________________________________
>> Blojsom-users mailing list
>> Blojsom-userslists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/blojsom-u
sers
>>     
>
>   


------------------------------------------------------------
-------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the
chance to share your
opinions on IT & business topics through brief surveys -
and earn cash
http://www.techsay.com/default.
php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Blojsom-users mailing list
Blojsom-userslists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/blojsom-u
sers

Re: Unexpected results for RSS enclosure macro
country flaguser name
United States
2007-02-14 15:21:09
I'd have to go back and look at the code to make sure it is
filling in that
data.

On 1/29/07 1:28 PM, "Mr I Forrester"
<mailboxcubicgarden.com> wrote:

> So is there anyway to grab the data from Blojsom?
> 
> All the information is in blojsom, once its looked at
the URL right?
> 
> David Czarnecki wrote:
>> If the fields are blank, they'll need to be set in
the metadata for the
>> entry for that to show up correctly.
>> 
>> 
>> On 1/29/07 12:22 PM, "Mr I Forrester"
<mailboxcubicgarden.com> wrote:
>> 
>>   
>>> Can you give me a example just to be clear
>>> 
>>> <enclosure
url="$!entry.getMetaData().get("rss-enclosure"
;)"
>>>
length="$!entry.getMetaData("rss-enclosure-object&
quot;).getLength()"
>>>
type="$!entry.getMetaData("rss-enclosure-object&qu
ot;).getType()"/>
>>> 
>>> still produces a blank type and length.
>>> 
>>> Ian
>>> 
>>> David Czarnecki wrote:
>>>     
>>>> Use "rss-enclosure-object" in
quotes in the getMetaData() call since it's a
>>>> named key/value pair. That should do it.
>>>> 
>>>> 
>>>> On 1/29/07 8:45 AM, "Mr I
Forrester" <mailboxcubicgarden.com> wrote:
>>>> 
>>>>   
>>>>       
>>>>> Hi All,
>>>>> 
>>>>> I'm using Blojsom 2.3.1 and for some
reason the RSS Enclosure macro and
>>>>> template code seems to only return the
text of the enclosure in rss2.vm.
>>>>> I don't know when this started but I've
not made any major changes
>>>>> recently.
>>>>> 
>>>>> #RSSEnclosure($entry)
>>>>>
$!entry.getMetaData().get("rss-enclosure")
>>>>> 
>>>>> For example -
>>>>> http://www.cubicgarden.com/blojsom
/blog/cubicgarden/media/?flavor=rss2&ent
>>>>> ri
>>>>> es
>>>>> =5
>>>>> 
>>>>> </description>
>>>>> 
http://blip.tv/fil
e/get/Cubicgarden-GeekAndGeekhagPodcastNumber22007789.mp>
>>>>
3
>>>>> <guid>
>>>>> 
>>>>> So following this page
>>>>> [http://wiki.blojsom.com/wiki/display/blojsom/RS
S+Enclosure+Plugin] I'm
>>>>> attempting to create the enclosure
element myself but I can't seem to
>>>>> grab the length and type data. What I'm
currently trying in rss2.vm ...
>>>>>         <enclosure
url="$!entry.getMetaData().get("rss-enclosure"
;)"
>>>>>
length="$!entry.getMetaData().get(rss-enclosure-object)
.getLength()""
>>>>>
type="$!entry.getMetaData().get(rss-enclosure-object).g
etType()"/>
>>>>> 
>>>>> Does anyone know what could be the
problem with the RSS-Enclosure Macro
>>>>> or how to grab the other data bits I
need to create my own?
>>>>> 
>>>>> Cheers,
>>>>> 
>>>>> Ian Forrester
>>>>> 
>>>>> 
>>>>>
------------------------------------------------------------
-------------
>>>>> Take Surveys. Earn Cash. Influence the
Future of IT
>>>>> Join SourceForge.net's Techsay panel
and you'll get the chance to share
>>>>> your
>>>>> opinions on IT & business topics
through brief surveys - and earn cash
>>>>> http://www.techsay.com/default.
php?page=join.php&p=sourceforge&CID=DEVDEV
>>>>>
_______________________________________________
>>>>> Blojsom-users mailing list
>>>>> Blojsom-userslists.sourceforge.net
>>>>> https://lists.sourceforge.net/lists/listinfo/blojsom-u
sers
>>>>>     
>>>>>         
>>>>   
>>>>       
>>>
------------------------------------------------------------
-------------
>>> Take Surveys. Earn Cash. Influence the Future
of IT
>>> Join SourceForge.net's Techsay panel and you'll
get the chance to share your
>>> opinions on IT & business topics through
brief surveys - and earn cash
>>> http://www.techsay.com/default.
php?page=join.php&p=sourceforge&CID=DEVDEV
>>>
_______________________________________________
>>> Blojsom-users mailing list
>>> Blojsom-userslists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/blojsom-u
sers
>>>     
>> 
>>   
> 
> 
>
------------------------------------------------------------
-------------
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the
chance to share your
> opinions on IT & business topics through brief
surveys - and earn cash
> http://www.techsay.com/default.
php?page=join.php&p=sourceforge&CID=DEVDEV
> _______________________________________________
> Blojsom-users mailing list
> Blojsom-userslists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/blojsom-u
sers

-- 
David Czarnecki

http://www.blojsom.com/b
log/ | http://blojsom.sf.net



------------------------------------------------------------
-------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the
chance to share your
opinions on IT & business topics through brief
surveys-and earn cash
http://www.techsay.com/default.
php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Blojsom-users mailing list
Blojsom-userslists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/blojsom-u
sers

[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )