mirror of
https://github.com/yacy/yacy_search_server.git
synced 2024-09-24 00:00:19 +02:00
c5a8585ac6
- URL encoding for search terms where required - removed "ugly" CDATA escaping - UTF-8 encoding for the XML - no HTML style escaping for XML/RSS element values Note: some unicode characters might still be encooded in a wrong way. git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@4140 6c8d7289-2bf4-0310-a012-ef5d649a1542
29 lines
1.4 KiB
XML
29 lines
1.4 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<?xml-stylesheet type='text/xsl' href='/yacysearch.xsl' version='1.0'?>
|
|
<rss version="2.0"
|
|
xmlns:yacyTopwords="http://www.yacy.net/yacy/topwords"
|
|
xmlns:opensearch="http://a9.com/-/spec/opensearch/1.1/"
|
|
xmlns:atom="http://www.w3.org/2005/Atom">
|
|
<!-- YaCy P2P Web Search - Results; http://yacy.net -->
|
|
<channel>
|
|
<title>YaCy P2P-Search for #[rss_query]#</title>
|
|
<description>Search for #[rss_query]#</description>
|
|
<link>#[searchBaseURL]#?search=#[rss_queryenc]#&resource=#[input_resource]#&contentdom=#[input_contentdom]#</link>
|
|
<image>
|
|
<url>#[rssYacyImageURL]#</url>
|
|
<title>Search for #[rss_query]#</title>
|
|
<link>#[searchBaseURL]#?search=#[rss_queryenc]#&resource=#[input_resource]#&contentdom=#[input_contentdom]#</link>
|
|
</image>
|
|
<opensearch:totalResults>#[num-results_totalcount]#</opensearch:totalResults>
|
|
<opensearch:startIndex>#[num-results_offset]#</opensearch:startIndex>
|
|
<opensearch:itemsPerPage>#[num-results_itemsPerPage]#</opensearch:itemsPerPage>
|
|
<atom:link rel="related" href="opensearchdescription.xml" type="application/opensearchdescription+xml"/>
|
|
<opensearch:Query role="request" searchTerms="#[rss_queryenc]#" />
|
|
|
|
#{results}#
|
|
<!--#include virtual="yacysearchitem.html?rss=true&item=#[item]#&eventID=#[eventID]#" -->
|
|
#{/results}#
|
|
|
|
<!--#include virtual="yacysearchitem.html?rss=true&bottomline=true&eventID=#[eventID]#" -->
|
|
</channel>
|
|
</rss> |