Coder Social home page Coder Social logo

ianhyzy / obsidian-wordpress Goto Github PK

View Code? Open in Web Editor NEW

This project forked from devbean/obsidian-wordpress

0.0 0.0 0.0 38.19 MB

An obsidian plugin for publishing docs to WordPress.

Home Page: https://devbean.github.io/obsidian-wordpress

License: Apache License 2.0

JavaScript 97.03% TypeScript 2.96% CSS 0.01%

obsidian-wordpress's Introduction

obsidian-wordpress

BuyMeACoffee

This plugin makes you publish Obsidian documents to WordPress.

There are some introduction videos you can watch:

Usages

Set your WordPress URL in settings as well as username if you want.

Put cursor in a MarkDown editor, then use Publish to WordPress in Command Palette or you could show a button in side in settings. The document will be published to the WordPress URL that you set.

You could add YAML front matter in front of notes. The plugin will read meta-data from front matter such as override title or tags. Also, WordPress post ID and categories will be added to this front matter if the note published successfully in order to support edit.

For example, you could add as following:

---
title: Post title which will override note title, not required
tags:
  - any tag you want
  - not required
---
Note content here.

Limits

This plugin uses XML-RPC or REST protocol to publish to WordPress.

XML-RPC is enabled by default but some sites may disable it because of security problems. While some shared hosts might disable XML-RPC by default which you have no way to enable it. So this won't work if XML-RPC is disabled.

REST API is enabled since WordPress 4.7 by default. Some REST API need extra actions in order to protect writable APIs. Traditionally, it is done by installing plugins. WordPress 5.6 was introduced application passwords to do similar things. So if you are OK with WordPress 5.6, application passwords is preferred as no plugin in needed.

Read this page for more information.

obsidian-wordpress's People

Contributors

devbean avatar brianpetro 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.