Otonicara
Posts: 36
Joined: Sun Jul 13, 2008 3:40 pm
Location: Slovenija EU
Contact:

Postby Otonicara » Sat Sep 26, 2009 5:24 pm

I would like to amand DefaultSearchChannelFeed adding additional tag - pubDate in it. Look example below:

Original feed Data:
<item>
<title>VGS and Plainfield Luxembourg Complete Plan of Arrangement</title>
<link>http://www.marketwire.com/mw/release.do?id=1050805&amp;sourceType=3</link>
<description>CALGARY, ALBERTA--(Marketwire - Sept. 25, 2009) - VGS Seismic Canada Inc. ("VGS" or the "Company") (TSX VENTURE:VGS) and Plainfield Luxembourg S.a.r.l. ("Plainfield Luxembourg") are pleased to announce that Plainfield Luxembourg has acquired all of the common shares of VGS that it did not already own (the "Transaction") at a price of $0.06 per share, pursuant to a plan of arrangement under the Canada Business Corporations Act effective as of September 25, 2009 (the "Effective Date"). Plainfield Luxembourg is an affiliate of a private fund managed by Plainfield Asset Management LLC, an investment adviser registered with the U.S. Securities and Exchange Commission in accordance with the Investment Advisers Act of 1940.

</description>
<category>TSX VENTURE:VGS</category>
<pubDate>Fri, 25 Sep 2009 19:29:00 EDT</pubDate>
</item>


Awasu Config File - log:
[NewFeedItem]
ExternalItemId=49309
ItemContent1_Content=VANCOUVER, BRITISH COLUMBIA--(Marketwire - Sept. 25, 2009) - The following issue(s) have been halted on the TSXV today:%0A%0A/T/%0A%0ACompany / Compagnie VGS Seismic Canada Inc.%0A%0ATSXV Symbol / Symbole VGS - V%0A%0AReason / Motif Pending news%0A%0AHalt Time / Heure de l'Arret At the open%0A%0A/T/%0A
ItemContent1_LanguageTag=
ItemContent1_MediaType=text/html
ItemFingerprint=dfceb793e81af6c43b1edbd696d139f3
ItemId=49530
ItemLink1_LanguageTag=
ItemLink1_MediaType=
ItemLink1_RelType=alternate
ItemLink1_Size=0
ItemLink1_Title=
ItemLink1_Uri=http://www.marketwire.com/mw/release.do?id=1050499&sourceType=3
ItemMetadata=<value>49309</value><value>IIROC: Halt, VGS Seismic Canada Inc.</value><group><value>http://www.marketwire.com/mw/release.do?id=1050499&sourceType=3</value><value>alternate</value></group><group><value>Marketwire</value><group><value>http://127.0.0.1:2604//openItem?iid=49309&cs=1</value><value>alternate</value></group></group>
ItemTitle=IIROC: Halt, VGS Seismic Canada Inc.%0A*2
ItemUrl=http://www.marketwire.com/mw/release.do?id=1050499&sourceType=3
MarkedUpDescription=VANCOUVER, BRITISH COLUMBIA--(Marketwire - Sept. 25, 2009) - The following issue(s) have been halted on the TSXV today:%0A%0A/T/%0A%0ACompany / Compagnie VGS Seismic Canada Inc.%0A%0ATSXV Symbol / Symbole VGS - V%0A%0AReason / Motif Pending news%0A%0AHalt Time / Heure de l'Arret At the open%0A%0A/T/%0A%0A*2
PlainTextDescription=VANCOUVER, BRITISH COLUMBIA--(Marketwire - Sept. 25, 2009) - The following issue(s) have been halted on the TSXV today:%0A%0A/T/%0A%0ACompany / Compagnie VGS Seismic Canada Inc.%0A%0ATSXV Symbol / Symbole VGS - V%0A%0AReason / Motif Pending news%0A%0AHalt Time / Heure de l'Arret At the open%0A%0A/T/%0A
TimeCreated=1253980339

PROBLEM: There is no pubDate ... So I adjust Default DefaultSearchChannelFeed - adding Published tag...


<xml>

<feed>

<title>{%CHANNEL-METADATA% name}</title>

<subtitle>{%CHANNEL-METADATA% description}</subtitle>

{%REPEAT% SearchResults}

<entry>

<id>{%ITEM-METADATA% awasuId}</id>

<link href="{%ITEM-METADATA% url encode=sgml chars="<&\""}" />

<title>{%ITEM-METADATA% name!}</title>

<content>{%ITEM-METADATA% description}</content>

<source>

<link href="{%OPEN-ITEM-CS-URL% encode=sgml chars="<&\""}" />

<title>{%CHANNEL-METADATA% name}</title>

</source>

<Published> {%CHANNEL-METADATA% pubDate}</Published>

</entry>

{%/REPEAT%}

</feed>


However after amendment there is still NO Published tag in Awasu Config file - log ...

QUESTION:
1.) What needs to be changed in Default DefaultSearchChannelFeed to get Published tag?

2.) In Case there are different SearchChannelsFeed for different channels do I need to add New Template also to Channels generated from Search Results? Is it ok-ej to have template specified only in original feed channels?

Otonicara
Posts: 36
Joined: Sun Jul 13, 2008 3:40 pm
Location: Slovenija EU
Contact:

Postby Otonicara » Sun Sep 27, 2009 10:43 am

... I see that my problem is perfectly explaind in "Time stamp issue with search channels" ... Thanks!


Return to “Awasu - General Discussion”

Who is online

Users browsing this forum: No registered users and 5 guests