You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Kieran Kirwan <KK...@dto.ie> on 2003/08/14 13:32:38 UTC
Cocoon not able to read external URLs.
My setup of cocoon doesn't appear able to read external URLs.
This is the first time I've tried to do this on our network.
Hence I just get an empty HTML page when I run the Yahoo screenscrape.
<map:match pattern="yahoo">
<map:generate src="http://www.yahoo.com" type="html">
<map:parameter name="xpath" value="/html/body/center/table[1]/tr[1]/td[1]"/>
</map:generate>
<map:transform src="stylesheets/news/news.xsl"/>
<map:serialize type="html"/>
</map:match>
I've simplified it down to just generate and it's the same
<map:match pattern="yahoo1">
<map:generate src="http://www.yahoo.com" type="html">
</map:generate>
<map:serialize type="html"/>
</map:match>
It's not a proxy server issue or something???
Can anyboby help??
Kieran
_____________________________________________
Kieran Kirwan
Executive Transportation Planner
Transportation Modelling Department
Dublin Transportation Office
Hainault House,
69/71 St. Stephen's Green,
Dublin 2,
Ireland.
Tel: +353 (0)1 4778113
Fax: +353 (0) 1 478 5935
website: www.dto.ie <http://www.dto.ie/>
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.
This footnote also confirms that this email message has been swept by
Mail Marshal for the presence of computer viruses.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org
Re: Cocoon not able to read external URLs.
Posted by Joerg Heinicke <jo...@gmx.de>.
What happen's when doing this? What's your Cocoon setup esp. Cocoon version?
Someone else already mentioned some days ago problems with proxy.
Joerg
Kieran Kirwan wrote:
> My setup of cocoon doesn't appear able to read external URLs.
> This is the first time I've tried to do this on our network.
> Hence I just get an empty HTML page when I run the Yahoo screenscrape.
>
> <map:match pattern="yahoo">
> <map:generate src="http://www.yahoo.com" type="html">
> <map:parameter name="xpath" value="/html/body/center/table[1]/tr[1]/td[1]"/>
> </map:generate>
> <map:transform src="stylesheets/news/news.xsl"/>
> <map:serialize type="html"/>
> </map:match>
>
> I've simplified it down to just generate and it's the same
>
> <map:match pattern="yahoo1">
> <map:generate src="http://www.yahoo.com" type="html">
> </map:generate>
> <map:serialize type="html"/>
> </map:match>
>
> It's not a proxy server issue or something???
>
> Can anyboby help??
>
> Kieran
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org