Git Product home page Git Product logo

spider-2's Introduction

spider

抓取服务器上的符合特定规则的html,作为一个入口页展示出来

需求背景

项目组有一个公共服务区,上面丢了一些HTML和CSS。我希望统计出所有的组件HTML,并且聚合出来,方便成员浏览组件,所以写了这么一个PHP丢到服务器上。

配置

把文件夹放在服务器或者你本地,配置config.php,That's it!

规则

  • 有意义的英文文件名qz_ficon.html(请在config中配置正则表达式)
  • 简短有意义的<title>标题</title>
  • <meta name="author" content="Yuguo" />
  • <meta name="description" content="CSS3 @font-face 图标字体" />
  • 在同级文件夹下的同名png图片——缩略图

鸣谢

样式参考自 http://twitter.github.com/

截图

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.