gscholar-rss 0.3.0.0 → 0.3.0.1
raw patch · 2 files changed
+6/−6 lines, 2 files
Files
- gscholar-rss.cabal +3/−3
- src/Main.hs +3/−3
gscholar-rss.cabal view
@@ -1,5 +1,5 @@ name: gscholar-rss-version: 0.3.0.0+version: 0.3.0.1 synopsis: scrapes google scholar, provides RSS feed description: A simple Google Scholar scraper, providing RSS/Atom feeds. Check <http://ariis.it/static/articles/gscholar-rss/page.html homepage>@@ -34,5 +34,5 @@ ghc-options: -Wall source-repository head- type: darcs- location: http://www.ariis.it/link/repos/gscholar-rss/+ type: git+ location: https://gitlab.com/fffaaa/gscholar-rss
src/Main.hs view
@@ -1,8 +1,6 @@ {-# Language OverloadedStrings #-} -- todo [release] date?--- todo [release] fallo diventare script, asptta che cabal 2.4 va in--- deb stable. module Main where @@ -51,6 +49,8 @@ id (scrapeStringLike b s) in return r++ ----------- -- TYPES -- -----------@@ -127,6 +127,7 @@ where req = DS.fromString (T.unpack url) +-- todo non funziona con q dopo ?, usa new-uri (uri-modern? scordato) feedTitle :: URL -> Title feedTitle url = case lookup "q" (U.queryToPairs $ T.unpack url) of Nothing -> "Wrong: title not found"@@ -180,7 +181,6 @@ "gscholar-rss " ++ version, "Can't fix this? Please report to <fa-ml@ariis.it>"] --- todo autopick version version :: String version = 'v' : V.showVersion P.version