Coder Social home page Coder Social logo

ijkxsdatas's Introduction

IjkxsDatas

一款 typecho 采集辅助插件

IjkxsDatas 插件为 typecho 采集辅助插件,支持免登录发布文章,图片下载等功能。

使用教程

  1. 插件后台的发布地址为API地址,例如图上:http://localhost/action/ijkxs-datas ,密码为个人设置的接口调用通行证。
  2. Markdown 前缀功能使得采集的文章会被标记为Markdown 格式
  3. 本地图片替换,将采集的图片下载到本地,并将文章内容图片链接替换为本地链接。

API设计

接口地址:

见插件后台,如

http://localhost/action/ijkxs-datas

获取分类接口:

接口地址+?__ijk_flag=category_list

输出格式:

<<<[分类ID]==[分类名称]>>>

如:

<<<1==默认分类1>>>
<<<2==默认分类2>>>

文章发布接口

接口地址+?__ijk_flag=post&ijk_password=xxx插件后台配置的

POST参数:

v1.0.1 新增 teapass 支持

名称 是否必填
categories 分类名称,多个可,分隔,不存在会自动创建
title 标题
text 内容
tag 标签,多个可,分隔,不存在会自动创建
created 创建时间戳
__ijk_download_imgs_flag 是否下载图片
__ijk_docImgs 图片链接,多个链接用,分隔
order 顺序
author 作者名字,可以为空,则选择管理员
type 类型,不填默认post
status 状态,见typecho 文档,是否公开
password 是否有密码
allowComment 默认1
allowPing 默认1
allowFeed 默认1
fields[xxx] 自定义字段xxx
post_see_type 0:限时免费1:登录可见2:仅VIP会员可见3:要单独付费
post_price 正常付费价格(元)
post_price_for_vip VIP会员付费价格(元)
post_price_for_eternal 终身会员付费价格(元)
post_content 付费可见内容

ijkxsdatas's People

Contributors

gogobody avatar

Watchers

James Cloos 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.