You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Calum Miller <ca...@yahoo.com> on 2004/08/02 13:07:47 UTC

Cocoon 2.1.5.1: Web Site Syndication Bugs

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