Git Product home page Git Product logo

feedbyselectors's Introduction

FeedbySelectors
@version: 1.0.0
@author: poochin
@site: http://poochin.sakura.ne.jp/
@LISENCE: Apache License 2.0

FeedbySelectors とは

FeedbySelectors とは HTML をスクレイピングして Feed を作成するツールです。
スクレイピングに CSS セレクタを使うのが特徴です。

依存ライブラリ

* BeautifulSoup: http://www.crummy.com/software/BeautifulSoup/
* soupselect: https://github.com/simonw/soupselect
* dateutil: http://pypi.python.org/pypi/python-dateutil
* Bootstrap: http://twitter.github.com/bootstrap/

上記のライブラリの中から該当するファイルを以下のように配置してください。

feedbyselectors/
  + lib/
  |   + BeautifulSoup.py
  |   | soupselect.py
  |   | dateutil/
  | stylesheets/
  |   + bootstrap.min.css

feedbyselectors's People

Contributors

poochin avatar

Stargazers

 avatar

Watchers

 avatar Richard Wilkes avatar

feedbyselectors's Issues

Wiki のトップページの文章を整える

特に躍動的に書く必要はなく、淡々と平坦な文章でよい。

ただし以下の事柄は必ず記入すること。

  • FeedbySelectors が解消する問題
  • どのように解決するのか
  • どのような人がこれを使うべきか

フィード作成時に enable プロパティが有効かどうかを確認する

FeedbySelectors はアイテム内の各要素について zip ビルトイン関数で結合してアイテムを作成するため要素の数が少ないものの分だけアイテムを生成する。

よってセレクタをそもそも指定していない場合や、enable にしていない状態でかつセレクタが不正な指定だった場合は、その個数に捲き込まれてしまう。

enable プロパティを適切に見る事で、使用していない不正なセレクタについて配慮する必要なくフィードを適切に作成できるようになる。

create custom test page

各ユーザが自分の設定で上手くいくのかどうかを見極める為の「カスタムテストページ」を作成する。

チュートリアルの原型、パイロット版を作成する

チュートリアルは FeedbySelectors を利用するにあたり重要なドキュメントである。

FeedbySelectors をどのようにして操作するのか、という操作感が分かるまでの情報を提供する。

・ 要素の概念
・ FeedbySelectors の入力方法
・ カスタムフィードの作成

この三つについて扱う。

create unittests

データストアに関する単体テストを作成する。

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.