vgritsenko 02/02/28 07:18:28
Modified: src/webapp sitemap.xmap
Log:
fix Yahoo screen scrape
Revision Changes Path
1.32 +1 -1 xml-cocoon2/src/webapp/sitemap.xmap
Index: sitemap.xmap
===================================================================
RCS file: /home/cvs/xml-cocoon2/src/webapp/sitemap.xmap,v
retrieving revision 1.31
retrieving revision 1.32
diff -u -r1.31 -r1.32
--- sitemap.xmap 23 Feb 2002 16:47:40 -0000 1.31
+++ sitemap.xmap 28 Feb 2002 15:18:28 -0000 1.32
@@ -1115,7 +1115,7 @@
<map:match pattern="yahoo">
<map:generate type="html" src="http://www.yahoo.com">
- <map:parameter name="xpath"
value="/html/body/center/table[1]/tr/td/table"/>
+ <map:parameter name="xpath"
value="/html/body/center/table[1]/tr/td/table[position()=last()]"/>
</map:generate>
<map:transform src="stylesheets/news/news.xsl"/>
<map:serialize type="html"/>
----------------------------------------------------------------------
In case of troubles, e-mail: [EMAIL PROTECTED]
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]