0.0
The project is in a healthy, maintained state
PostypeRails can help you automate when you post in your Postype Blog.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies
 Project Readme

PostypeRails

PostypeRails can help you automate when you post in your Postype Blog.


Installation

gem 'postype_rails', '~> 0.1.0'

How To Find Blog ID & Cookie

Postype Blog ID

  • When you enter the screen where you write a new post, That screen's url show your blog_id (The yellow part of the picture)
How To Find Your Postype Blog IDd

Postype Cookie

  • I use Chrome, and I'll explain it to you based on that.
  1. Open The DevTool And Let's Go to Network Tab
Let's open Network Tab
  1. Then Select "Doc"
Select Doc
  1. Without closing the DevTool, ReEnter The Screen where you write a new post
Click This
  1. Click the First Request, You Can Find The Cookie In Request Headers (The yellow part of the picture)
You Can Find Your Cookie

Usage

require 'postype_rails'

PostypeRails.upload("postype cookie", "blog id", "my post title", "<p>my post content</p>")

You should Pass Arguments.

Arguments:

  • cookie: (String)
  • blog_id: (String)
  • title: (String)
  • content: (String) (content should be html string)