diff options
| author | orbiter <orbiter@6c8d7289-2bf4-0310-a012-ef5d649a1542> | 2010-08-20 11:30:02 +0000 |
|---|---|---|
| committer | orbiter <orbiter@6c8d7289-2bf4-0310-a012-ef5d649a1542> | 2010-08-20 11:30:02 +0000 |
| commit | e10cd115a9b6212d2dfab36bd897e4c580d6dff0 (patch) | |
| tree | 75d2710bf50eb0b0650ad0ed93cc16bccd4080bc /htroot/Load_RSS_p.html | |
| parent | 933dc1a6007626806ea09a293a5c54df6df3dd92 (diff) | |
- added a new RSS reader interface. This is not finished but you can now load and look at RSS feeds. It will be used to index RSS feeds in a way that is appropriate for such kind of data.
- refactoring of Mediawiki and PHPBB3 loader interface names (just renamed)
- removed two old not used RSS loader interfaces
- fixed a bug in RSS parser library of cora
- added a new RSS parser component to the set of yacy document parsers
git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@7053 6c8d7289-2bf4-0310-a012-ef5d649a1542
Diffstat (limited to 'htroot/Load_RSS_p.html')
| -rw-r--r-- | htroot/Load_RSS_p.html | 90 |
1 files changed, 90 insertions, 0 deletions
diff --git a/htroot/Load_RSS_p.html b/htroot/Load_RSS_p.html new file mode 100644 index 000000000..4776b39a3 --- /dev/null +++ b/htroot/Load_RSS_p.html @@ -0,0 +1,90 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> +<html xmlns="http://www.w3.org/1999/xhtml"> + <head> + <title>YaCy '#[clientname]#': Configuration of a Wiki Search</title> + #%env/templates/metas.template%# + <script type="text/javascript"> + <!-- + function setall(name, check){ + var selectForm = document.forms.namedItem(name); + var count = selectForm.elements["num"].value; + if (check) for(i = 0; i < count; i++) { + if (selectForm.elements["item_" + i].checked) { + check = false; + break; + } + } + for(i = 0; i < count; i++){ + selectForm.elements["item_" + i].checked = check; + } + } + --> + </script> + <script type="text/javascript" src="/js/sorttable.js"></script> + </head> + <body id="IndexCreate"> + #%env/templates/header.template%# + #%env/templates/submenuIndexCreate.template%# + <h2>Loading of RSS Feeds</h2> + <p> + RSS feeds can be loaded into the YaCy search index. + This does not load the rss file as such into the index but all the messages inside the RSS feeds as individual documents. + </p> + + <form action="Load_RSS_p.html" method="get"> + <fieldset> + <dl> + <dt><b>URL of the RSS feed</b></dt> + <dd><input type="text" name="url" value="#[url]#" size="60" maxlength="256"/></dd> + <dt>Simulation Mode</dt> + <dd><input type="submit" name="showrss" value="Show RSS Items" /></dd> + <dt>Indexing Mode</dt> + <dd>#(showload)#Available after successful loading of rss feed in simulation mode:: + <!--<input type="submit" name="loadrss" value="Index RSS Items" />-->not yet implemented <b>THIS INTERFACE IS A STUB - DEVELOPMENT IS ONGOING</b> + #(/showload)#</dd> + + </dl> + </fieldset> + </form> + + #(showitems)#:: + <form name="rssfeed"><fieldset> + <legend><label for="table">RSS Feed</label></legend> + <dl> + <dt>Title</dt><dd>#[title]#</dd> + <dt>Author</dt><dd>#[author]#</dd> + <dt>Description</dt><dd>#[description]#</dd> + <dt>Language</dt><dd>#[language]#</dd> + <dt>Date</dt><dd>#[date]#</dd> + <dt>Time-to-live</dt><dd>#[ttl]#</dd> + <dt>Docs</dt><dd>#[docs]#</dd> + </dl> + <table class="sortable" border="0" cellpadding="2" cellspacing="1"> + <tr class="TableHeader" valign="bottom"> + <td><input type="checkbox" name="allswitch" onclick="setall(this.form.name, this.value)" /></td> + <td>Title</td> + <td>URL</td> + <td>Author</td> + <td>Language</td> + <td>Date</td> + <td>Description</td> + </tr> + #{item}# + <tr class="TableCellLight"> + <td align="left"><input type="checkbox" name="item_#[count]#" value="mark_#[hash]#" /></td> + <td><a href="#[link]#">#[title]#</a></td> + <td><a href="#[link]#">#[link]#</a></td> + <td>#[author]#</td> + <td>#[language]#</td> + <td>#[date]#</td> + <td>#[description]#</td> + </tr> + #{/item}# + </table> + <input type="hidden" name="num" value="#[num]#" /> + </fieldset></form> + #(/showitems)# + + #%env/templates/footer.template%# + </body> +</html> |
