GithubHelp home page GithubHelp logo

faycollect's Introduction

采集模块

此模块用于与火车头采集器配合,实现采集信息入库。

此模块采用faycms后台登录机制,登录faycms后台后方可访问。

暂不支持权限管理

火车头采集器web发布配置文件在类库根目录: vendor/faysoft/faycollect/Faycms.wpm
火车头软件使用教程参见火车头官网。

程序本身暂不支持采集

相关接口

/faycollect/admin/post/cats

获取可用分类。返回一个select标签结构(火车头解析这个比解析json容易)

/faycollect/admin/post/create

发布文章

  • title:标题(不严格限制长度,但超过500字符会被截断)
  • content: 正文
  • thumbnail:缩略图
  • publish_time:发布时间(会尽可能去转换为时间戳,无法转换或为空,则默认为当前时间)
  • cat_id:分类ID
  • status:文章状态,默认为“已发布”
  • auto_thumbnail:若非0,则尝试获取正文中第一张图片作为缩略图(缩略图必然会下载到本地)。默认为1
  • remote:若非0,则尝试将正文中所有图片下载到本地(下载失败则保留原图片路径)。默认为1
  • tags:标签(支持:空格、中文逗号、英文逗号、竖线分割方式)
  • abstract: 摘要
  • seo_title: SEO标题
  • seo_keywords: SEO关键词
  • seo_description: SEO描述

faycollect's People

Contributors

fayfox avatar

Watchers

 avatar

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.