Compare commits
2 Commits
27a42c47aa
...
a2c4691090
Author | SHA1 | Date |
---|---|---|
pictuga | a2c4691090 | |
pictuga | b6000923bc |
|
@ -250,7 +250,6 @@ url = 'http://newspaper.example/feed.xml'
|
|||
options = morss.Options(csv=True) # arguments
|
||||
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
|
||||
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>
|
||||
</header>
|
||||
|
||||
<div id="header">
|
||||
<div id="header" dir="auto">
|
||||
<h1>
|
||||
<xsl:value-of select="rdf:RDF/rssfake:channel/rssfake:title|rss/channel/title|atom:feed/atom:title|atom03:feed/atom03:title"/>
|
||||
</h1>
|
||||
|
@ -207,7 +207,7 @@
|
|||
|
||||
<div id="content">
|
||||
<xsl:for-each select="rdf:RDF/rssfake:channel/rssfake:item|rss/channel/item|atom:feed/atom:entry|atom03:feed/atom03:entry">
|
||||
<div class="item">
|
||||
<div class="item" dir="auto">
|
||||
<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"/>
|
||||
</a>
|
||||
|
|
Loading…
Reference in New Issue