Compare commits
No commits in common. "a2c4691090c5a8a6302a4234aad1d867b0f8c4a6" and "27a42c47aa24d01731b7e5819fd33f903449bd30" have entirely different histories.
a2c4691090
...
27a42c47aa
|
@ -250,6 +250,7 @@ url = 'http://newspaper.example/feed.xml'
|
||||||
options = morss.Options(csv=True) # arguments
|
options = morss.Options(csv=True) # arguments
|
||||||
morss.crawler.sqlite_default = '/tmp/morss-cache.db' # sqlite cache location
|
morss.crawler.sqlite_default = '/tmp/morss-cache.db' # sqlite cache location
|
||||||
|
|
||||||
|
url = morss.UrlFix(url) # make sure the url is properly formatted
|
||||||
url, rss = morss.FeedFetch(url, options) # this only grabs the RSS feed
|
url, rss = morss.FeedFetch(url, options) # this only grabs the RSS feed
|
||||||
rss = morss.FeedGather(rss, url, options) # this fills the feed and cleans it up
|
rss = morss.FeedGather(rss, url, options) # this fills the feed and cleans it up
|
||||||
|
|
||||||
|
|
|
@ -195,7 +195,7 @@
|
||||||
<p>Click <a href="/">here</a> to go back to morss</p>
|
<p>Click <a href="/">here</a> to go back to morss</p>
|
||||||
</header>
|
</header>
|
||||||
|
|
||||||
<div id="header" dir="auto">
|
<div id="header">
|
||||||
<h1>
|
<h1>
|
||||||
<xsl:value-of select="rdf:RDF/rssfake:channel/rssfake:title|rss/channel/title|atom:feed/atom:title|atom03:feed/atom03:title"/>
|
<xsl:value-of select="rdf:RDF/rssfake:channel/rssfake:title|rss/channel/title|atom:feed/atom:title|atom03:feed/atom03:title"/>
|
||||||
</h1>
|
</h1>
|
||||||
|
@ -207,7 +207,7 @@
|
||||||
|
|
||||||
<div id="content">
|
<div id="content">
|
||||||
<xsl:for-each select="rdf:RDF/rssfake:channel/rssfake:item|rss/channel/item|atom:feed/atom:entry|atom03:feed/atom03:entry">
|
<xsl:for-each select="rdf:RDF/rssfake:channel/rssfake:item|rss/channel/item|atom:feed/atom:entry|atom03:feed/atom03:entry">
|
||||||
<div class="item" dir="auto">
|
<div class="item">
|
||||||
<a href="/" target="_blank"><xsl:attribute name="href"><xsl:value-of select="rssfake:link|link|atom:link/@href|atom03:link/@href"/></xsl:attribute>
|
<a href="/" target="_blank"><xsl:attribute name="href"><xsl:value-of select="rssfake:link|link|atom:link/@href|atom03:link/@href"/></xsl:attribute>
|
||||||
<xsl:value-of select="rssfake:title|title|atom:title|atom03:title"/>
|
<xsl:value-of select="rssfake:title|title|atom:title|atom03:title"/>
|
||||||
</a>
|
</a>
|
||||||
|
|
Loading…
Reference in New Issue