wikicfp-scraper-0.1.0.13: Scrape WikiCFP web site
MaintainerToshio Ito <debug.ito@gmail.com>
Safe HaskellSafe-Inferred
LanguageHaskell2010

Web.WikiCFP.Scraper

Description

import qualified Network.HTTP as H
import Web.WikiCFP.Scraper (scrapeSearchEvents)

main :: IO ()
main =  do
  res <- H.getResponseBody =<< H.simpleHTTP (H.getRequest "http://wikicfp.com/cfp/servlet/tool.search?q=japan&year=t")
  print $ scrapeSearchEvents res

This module scrapes WikiCFP pages (http://wikicfp.com/) for call-for-papers. It helps you stay up to date with deadlines of academic paper submissions.

Synopsis

Scraper routines

scrapeConfEvents :: HTML input => input -> Either ErrorMsg [Event] Source #

Scrape a page of a conference, for example, http://wikicfp.com/cfp/program?id=2671

scrapeSearchEvents :: HTML input => input -> Either ErrorMsg [Event] Source #

Scrape a page of search results, for example, http://wikicfp.com/cfp/servlet/tool.search?q=cloud&year=t

Types

class HTML a where Source #

Types of input HTML data to scrape.

Instances

Instances details
HTML ByteString Source #

It just assumes UTF-8 encoding.

Instance details

Defined in Web.WikiCFP.Scraper

HTML ByteString Source # 
Instance details

Defined in Web.WikiCFP.Scraper

HTML Text Source # 
Instance details

Defined in Web.WikiCFP.Scraper

HTML Text Source # 
Instance details

Defined in Web.WikiCFP.Scraper

HTML String Source # 
Instance details

Defined in Web.WikiCFP.Scraper

data When Source #

Period of dates (inclusive).

Constructors

When 

Fields

Instances

Instances details
Show When Source # 
Instance details

Defined in Web.WikiCFP.Scraper.Type

Methods

showsPrec :: Int -> When -> ShowS #

show :: When -> String #

showList :: [When] -> ShowS #

Eq When Source # 
Instance details

Defined in Web.WikiCFP.Scraper.Type

Methods

(==) :: When -> When -> Bool #

(/=) :: When -> When -> Bool #

Ord When Source # 
Instance details

Defined in Web.WikiCFP.Scraper.Type

Methods

compare :: When -> When -> Ordering #

(<) :: When -> When -> Bool #

(<=) :: When -> When -> Bool #

(>) :: When -> When -> Bool #

(>=) :: When -> When -> Bool #

max :: When -> When -> When #

min :: When -> When -> When #

data Event Source #

A conference event posted to WikiCFP site. It corresponds to a row in the table you see conference pages etc, for example, http://wikicfp.com/cfp/program?id=1172

Constructors

Event 

Fields

Instances

Instances details
Show Event Source # 
Instance details

Defined in Web.WikiCFP.Scraper.Type

Methods

showsPrec :: Int -> Event -> ShowS #

show :: Event -> String #

showList :: [Event] -> ShowS #

Eq Event Source # 
Instance details

Defined in Web.WikiCFP.Scraper.Type

Methods

(==) :: Event -> Event -> Bool #

(/=) :: Event -> Event -> Bool #

Ord Event Source # 
Instance details

Defined in Web.WikiCFP.Scraper.Type

Methods

compare :: Event -> Event -> Ordering #

(<) :: Event -> Event -> Bool #

(<=) :: Event -> Event -> Bool #

(>) :: Event -> Event -> Bool #

(>=) :: Event -> Event -> Bool #

max :: Event -> Event -> Event #

min :: Event -> Event -> Event #