joakim verona wrote:

Luca,

This seems brilliant, but in my case it doesnt work. What am I doing wrong?

My pipeline:
<map:match pattern="parseimdbtitle">
<map:generate type="html"
src="http://www.imdb.com/title/{request-param:imdbtitle}"; /><!-- doesnt need url encoding because imdbtitle always one word -->
<map:transform src="stylesheets/parseimdbtitle.xsl"/>
<map:serialize type="xml"/>
</map:match>


Flow fragment:
out=new java.io.FileOutputStream("/tmp/out.xml");
cocoon.processPipelineTo("parseimdbtitle", {"imdbtitle":"tt0338466"} ,out)


Error:
     Could not get resource http://www.imdb.com/title/

To me it seems to indicate that {request-param:imdb} is empty when the pipeline is called.

I beg to differ, I tried: <map:match pattern="parseimdbtitle"> <map:generate type="html" src="http://www.imdb.com/title/tt0338466"; /> <map:serialize type="xml"/> </map:match>

getting the same "Resource not found" error: smells like a HTMLGenerator issue to me.

Regards,

-----------------------------------
Luca Morandini   -   GIS Consultant
[EMAIL PROTECTED]
http://xoomer.virgilio.it/ukmorand/
-----------------------------------



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to