diff options
| author | theli <theli@6c8d7289-2bf4-0310-a012-ef5d649a1542> | 2007-06-04 05:27:46 +0000 |
|---|---|---|
| committer | theli <theli@6c8d7289-2bf4-0310-a012-ef5d649a1542> | 2007-06-04 05:27:46 +0000 |
| commit | 051a65f7afb5938bb83e7a89a8a838253a32a323 (patch) | |
| tree | 8746009aedb83bd65b5afbf3b4de70ebee0af5ee /htroot/yacysearch.xsl | |
| parent | e1a5babff1a95ca9e977ec365f6607c9f7020b0a (diff) | |
*) Snippet fetching:
Snippet are now fetched synchronous if the query parameter "fetchSnippet="
is appended to the query string on the yacy search page. This is required
for the RSS feed.
See: http://www.yacy-forum.de/viewtopic.php?t=4051
*) Small changes in the XSLT-stylesheet that is used to generate a html page from
the RSS feed.
git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@3787 6c8d7289-2bf4-0310-a012-ef5d649a1542
Diffstat (limited to 'htroot/yacysearch.xsl')
| -rw-r--r-- | htroot/yacysearch.xsl | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/htroot/yacysearch.xsl b/htroot/yacysearch.xsl index cd064375f..0eaf20038 100644 --- a/htroot/yacysearch.xsl +++ b/htroot/yacysearch.xsl @@ -1,6 +1,7 @@ <?xml version="1.0" encoding="utf-8" ?> <?xml-stylesheet type='text/xsl' href='/rss.xsl' version='1.0'?> <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:dc="http://purl.org/dc/elements/1.1/" version="1.0"> + <xsl:output method="html"/> <xsl:template match='/rss'> <html> <head> @@ -9,6 +10,7 @@ <link rel="shortcut icon" href="favicon.ico" /> <style type="text/css"> @import "/env/style.css"; + @import "/env/base.css"; </style> </head> <body> @@ -24,11 +26,12 @@ </xsl:template> <xsl:template match='item'> - <p> - <b><xsl:value-of select='title'/></b><br/> - <a href="{link}" ><xsl:value-of select='link' /></a><br/> - <xsl:value-of select='pubDate' /><br/> - </p> + <div class="searchresults"> + <h4 class="linktitle"><a href="{link}" ><xsl:value-of select='title'/></a></h4> + <p class="snippet"><span class="snippetLoaded"><xsl:value-of select='description'/></span></p> + <p class="url"><a href="{link}" ><xsl:value-of select='link' /></a></p> + <p class="urlinfo"><xsl:value-of select='pubDate' /></p> + </div> </xsl:template> </xsl:stylesheet>
\ No newline at end of file |
