# About the script script_name : plosbiology2rss script_author : Pieter Edelman license : Released under the terms of the GNU General Public License (GPL) Version 2. license : See http://www.gnu.org/ for details. comment : PLoS Biology is an open-access scientific biology magazine comment : This script attempts to convert the page linking to the current issue to an RSS feed # Information concerning the feed feed_title : PLoS Biology feed_uri : http://www.plosbiology.org/plosonline/?request=get-issue feed_description : Public Library of Sciences: Biology feed_image_uri : # There is a logo on the page, but it's not really suited for an RSS feed feed_interval : 7d # The HTML of this site is not very good and requires fixing :( fix_html : true # To keep track of the catagories: cat_search : /
/ cat_match : /
(.*?)<\/div>/ cat : <i>\1</i> # Matches: [Everything] search: /<\/a>.*<\/b>
/i match_end : /<\/div>/ match : /
.*?><\/a><b>(.*?)<\/b><br>(.*?)<br>(.*)<br><div class=\/i title : \cat: \3 link : 1 description : <img src="http://www.plosbiology.org/images/icons/\2" />By \4<br />\5