cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Calum Miller <calum_mil...@yahoo.com>
Subject Cocoon 2.1.5.1: Web Site Syndication Bugs
Date Mon, 02 Aug 2004 11:07:47 GMT
Hi,

The Web Site Syndication block does not work in the
following release:
http://apache.mirror.positive-internet.com/cocoon/cocoon-2.1.5.1-src.tar.gz

The "Examples" link fails as the xmap refers to
"samples/xmlform", which is no longer included in
Cocoon.

The "Virtual Portal Demo" link also fails as (i think)
Amazon have changed the path to the web service. To
get it working make the following change to the
sitemap.xmap

BEFORE
----------------------------------------
          <map:match
pattern="amazon-listMania-resource">
                <map:generate type="wsproxy"
src="http://xml.amazon.com/onca/xml?v=1.0&amp;t=webservices-20&amp;dev-t=D2GNXHNXXYM094&amp;ListManiaSearch=1AU8KSU46JLPD&amp;type=lite&amp;f=xml"
label="xml"/>
                <map:transform
src="amazon/listMania2xhtml.xsl"/>
                <map:serialize type="xhtml"/>
          </map:match>
          <map:match
pattern="amazon-bookInfo-resource">
                <map:generate type="wsproxy"
src="http://xml.amazon.com/onca/xml?v=1.0&amp;t=webservices-20&amp;dev-t=D2GNXHNXXYM094&amp;type=heavy&amp;f=xml"
label="xml"/>
                <map:transform
src="amazon/bookInfo2xhtml.xsl"/>
                <map:serialize type="xhtml"/>
          </map:match>

AFTER
----------------------------------------
          <map:match
pattern="amazon-listMania-resource">
                <map:generate type="wsproxy"
src="http://xml.amazon.com/onca/xml3?v=1.0&amp;t=webservices-20&amp;dev-t=D2GNXHNXXYM094&amp;ListManiaSearch=1AU8KSU46JLPD&amp;type=lite&amp;f=xml"
label="xml"/>
                <map:transform
src="amazon/listMania2xhtml.xsl"/>
                <map:serialize type="xhtml"/>
          </map:match>
          <map:match
pattern="amazon-bookInfo-resource">
                <map:generate type="wsproxy"
src="http://xml.amazon.com/onca/xml3?v=1.0&amp;t=webservices-20&amp;dev-t=D2GNXHNXXYM094&amp;type=heavy&amp;f=xml"
label="xml"/>
                <map:transform
src="amazon/bookInfo2xhtml.xsl"/>
                <map:serialize type="xhtml"/>
          </map:match>


Calum Miller

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Mime
View raw message