devbean / obsidian-wordpress Goto Github PK
View Code? Open in Web Editor NEWAn obsidian plugin for publishing docs to WordPress.
Home Page: https://devbean.github.io/obsidian-wordpress
License: Apache License 2.0
An obsidian plugin for publishing docs to WordPress.
Home Page: https://devbean.github.io/obsidian-wordpress
License: Apache License 2.0
Hi, 我錄製了YouTube影片介紹這個外掛,希望有更多的Blogger使用:
It would be great if an edit in WordPress could come back to the Obsidian note. It would require to have a "Refresh" action in Obsidian, so the content is pulled.
This probably would be a more complex feature (translating WordPress data back to Obsidian) – especially if WordPress features like images, custom fields, etc. should be supported.
Hello,
I get Error: net::ERR_CERT_AUTHORITY_INVALID, when I try to publish a Page. I know, this is because of an expired SSL certificate on the server, but I have no way of fixing that issue (I'm not the admin there). The WordPress site is only accessible through private IP and completely trusted. Usually you can access sites like these with a few extra clicks from your browser. So I'm wondering if something can be done to bypass this error?
有没有办法把tags语法的"-" 改成#,并且多个tags不用换行
能否提供忽略YAML區與Header 1內容的選項?
Thanks.
I recently installed the plugin. When testing the Publish function to my WP site, which is hosted on wordpress.com i.e. https://(me).wordpress.com, it gives error msg "Post Publish Failed. 403 : Username or Password incorrect".
I've checked, they are in fact correct.
So I'm wondering if the real issue is how my WP site is hosted.... It's a a sub-domain on wordpress.com. Could this be the problem?
Thanks in advance for help with this.
请问下ob插件里的选项消失了,无法对这个插件进行设置
我试着发布了两篇文章,发现同步到wordpress的文章状态是草稿的状态,如果想要公开文章,还要再次打开wordpress,将文章发布出去,如果我没有记错,无论是哪种发布方式,都可以把文章设置为『已发布』的。
I would like to be able to have a link from Obsidian that I can click that takes me to the WordPress admin panel and opens up the post in edit mode:
/wp-admin/post.php?post={{post-id}}&action=edit
This will make doing final edits from the WP editor and setting any other metadata quicker and easier.
非常高兴默认参数发布不需要弹出确认窗口。
在斗胆提一个需求:
能不能根据修改时间,每1个小时扫描自动发布呢?就不需要自己手动发布, 每小时扫描一次有postid的文章,如果修改时间在近一个小时有变更,就自动发布。
当然扫描时间可以自定义, 比如:1小时,24小时,都可以。
类似一些插件的扫描机制:
makediff/obsidian-wucai: WuCai highlights Official, for Sync highlights into your obsidian notes
Hi!
Trying to get this plugin working.
WP 6.1.1
Trying to post a note via REST API and receive the following error: "Invalid username or password".
At the server logs I see the following:
[05/Jan/2023:17:11:39 +0300] "GET /wp-json/wp/v2/users?search=username HTTP/1.1" 401 208 "-" "obsidian.md" "blog.kvv213.com"
In the developing console the following:
What shall I do in order to make it work? Already tried to re do the application password.
PS. XMLRPC works
Would it be possible for the plugin to read metadata like front-matter from an Obsidian MD file and include that as post metadata for things like tags when the note is published?
Obsidian:v1.1.16
Wordpress:v6.2
文章发布失败
403:无效的项目ID
https://picoe.oss-cn-hangzhou.aliyuncs.com/202304271511996.png
终于有了这种期盼依旧的插件. 感谢!
但还缺少如下必须的功能:
再次感谢.
I have some LaTex
like this
$$
\begin{aligned}
6
& = 1 + 2 + 3
\
& = 2 + 4
\
& = 3 + 3
\end{aligned}
$$
where I used \\
to linefeed. It will be converted to \
when publise to WordPress, and this is annoying.
-------------------------------------------------------==--------------------------------------------------
在 LaTex
中使用 \\
作为换行符时,发布至 WordPress 会被解析为 \
, 公式失效
When writing a URL in Obsidian, the URL becomes clickable – it seems Obsidian is auto-detecting the URL in a text. Unfortunatly when saving to WordPress the URL becomes inactive.
I hope that this extension would soon keep the URLs clickable on the WordPress side like they are in Obsidian.
I set this up with the MiniOrange Plugin. I gathered the application password from where it says in the documentation.
My blog is at https://blog.dudethatserin.com and that is the URL I’m using.
Username is my username to login to the admin panel.
When I press the button, nothing happens. No notification either.
I thought this worked with previous testing on iPad but maybe I was just using it on Desktop.
Does this work on iPad? It let me install and enable it.
on version 13 got an issue on img tag
<img style='float:left; height: 24px; width: 24px; margin-right: 4px;' src='https://cepheus-jdr.fr/icon/svg/medal-skull.svg'/>
instead of
i experience this issue since few days
Hi there, great plugin. I have an idea for improving the publishing of text from Obsidian to Wordpress.
As of now, when I publish a note which has filelinks on words, such as [[Filelink]]
the text is literally sent to Wordpress as that. I would like to have those [[
]]
brackets removed from the Wordpress post, as they do not serve any purpose there.
Similarly, if I have any formatting text, such as ==
as a text highlighter, I would like to prevent that text from being sent to Wordpress too.
As a basic implementation, perhaps an toggle option to strip text down to plain text. For an advanced implementation (in the future), I can imagine having text be transformed into HTML. For example, the ==
could be converted to <span style="background:#xxxxx">
for making it an HTML highlight. It would translate the second ==
at the end of the highlighted text into a </span>
end html code.
This could apply to any other Markdown text formatting as well as Obsidian-Markdown text formatting. These are just examples.
For the sake of time however, as stated above, a feature to simply remove certain characters would be nice. Perhaps this could be implemented as a text box in the plugin settings in Obsidian, which allows the user to enter symbol(s) on each new line which the plugin will first remove before sending to Wordpress.
What do you think?
使用了wordpress插件发布到博客,在yaml区域有的postId, 如果文章中有内链[[]],能否获得内部链接的yaml区域的postId组装成一个地址
比如自己的yaml区域,增加了一个新的字段:source, 这个就是目标地址。能否为这个链接变为这个链接。请大神帮忙评估。
---
source: 'https://www.weqoocu.com/10990.html'
postId: '10990'
---
剛好遇到百分號的問題了。
log檔是DevTools的內容,把%DATE% %TIME% 的百分號刪掉就能正常publish
obsidian-console.log
Originally posted by @emisjerry in #26 (comment)
我试了好久,死活登陆不上去,最后配合fiddler抓包看请求的网址,才发现问题。
我的api是”我的域名/index.php/wp-json/wp/v2/posts“
如果直接输域名就少个”index.php“,就访问不到。需要输入”https://www.xxx.com/index.php/“才能正常登录。
另外提示大家一下setting里面最后的”/“需要输入,不输入,拼接的字符串成了/index.phpwp-json/wp/v2/posts,也登陆不上。
非常棒的插件,好像也是目前唯一可用的 wp 插件 !!!
不知道是我使用方式的不对,还是没有这个功能,针对同一个文档,多次点击 wp icon,会发布多次
当然我的期望是如果针对同一篇文章的多次 publish,期望是更新,而不是新建一篇
第一个问题,比如输入$$\begin{bmatrix}a&d\b&d\end{bmatrix}$$
到wordpress上会变成$$\begin{bmatrix}a&d\b&d\end{bmatrix}$$
第二个问题,比如输入$$\begin{cases}\vec{v}\\\vec{v_1}\end{cases}$$
会变成$$\begin{cases}\vec{v}\\vec{v_1}\end{cases}$$
输入$$\begin{cases}\vec{v}\\vec{v_1}\end{cases}$$
会变成$$\begin{cases}\vec{v}\vec{v_1}\end{cases}$$
然后这个公式就会渲染失败,还得手动删掉amp;
和加上一个\
,不知作者有没有办法解决这两个小问题,提前感谢~
There should be the possibility to have a frontmatter field that overrides the Title, so that people can "design" the title even if they need unique note names (e.g. "202309142151_Note_Title" could be the name of the note... ant "This is my new note" could be the string value used to create the post title in WordPress).
I am hoping this feature would be rather easy to be implemented as it seems there would just be a check for that alternative value in a specific frontmatter field (e.g. "wpTitle") and use that for the title instead of the note name.
Would it be possible to include a number of sites in the plugin. I have several, but can only publish to one at present?
Many thanks for considering.
登录账号密码时毫无反馈
I had tested the miniorange REST API concept before.
but it stopped working. the xmlrpc is functional
I use version 2.4.0 on miniorange and 0.5.0 on Wordpress publish.
It did work before. So i am not sure what happened.
app.js:1 Uncaught (in promise) Error: Request failed, status 404
at new t (app.js:1:1454507)
at VN (app.js:1:1454662)
at app.js:1:1455339
at app.js:1:235078
at Object.next (app.js:1:235183)
at s (app.js:1:233922)
t @ app.js:1
VN @ app.js:1
(anonymous) @ app.js:1
(anonymous) @ app.js:1
(anonymous) @ app.js:1
s @ app.js:1
Promise.then (async)
step @ plugin:obsidian-wordpress:65
fulfilled @ plugin:obsidian-wordpress:53
Promise.then (async)
step @ plugin:obsidian-wordpress:65
eval @ plugin:obsidian-wordpress:66
__async @ plugin:obsidian-wordpress:50
eval @ plugin:obsidian-wordpress:23994
eval @ plugin:obsidian-wordpress:21949
(anonymous) @ app.js:1
the link the in console looks like the URL ist both API endpoint put together
like
wp-jason/wp/v2/postswp-jason/wp/v2/categories
hope this helps in understanding the probem
比如输入$$\begin{bmatrix}a&d\b&d\end{bmatrix}$$
到wordpress上会变成$$\begin{bmatrix}a&d\b&d\end{bmatrix}$$
然后这个公式就会渲染失败,还得手动删掉&,不知作者有没有办法解决这个小问题,提前感谢~
After pushing the sidebar button to begin the publishing process there doesn't seem to be a way to actually confirm the publish from the dialog that's presented. Screenshot attached.
Hitting the 'x' to close the dialog dismisses it as expected. No post appears on Wordpress, no confirmation and no error message.
Hi,
筆記內容有百分號(%)時會無法公佈,將之改成全形百分號就能正常公佈。
請確認此狀況。
Thanks.
如题
XML-RPC API 创建的 post allow comments默认是关的
RESTAPI 就是打开的
尝试了uncheck再check
Allow people to post comments on new articles
无果
For security reasons I change my XMLRPC from the normal xmlrpc.php and change it to something obfuscated and hard to guess.
I would like to have the ability to change that without editing the code manually.
I tried adding the code necessary but it seems like there's something I'm missing, since I keep getting an error "Invalid '!' in opening tag"
Not sure why the API is returning the main html page.
From my logs the customxml string is properly returned in the endpoint.
Figure you have better familiarity and would know exactly what I'm missing.
First I wonder if it possible: Enabling the selection of Post Types (minimal: Pages, Posts)
I apologize I was unable to locate option where I could have labelled this issue as "Feature Request"
Could there possibly be a feature where I could "dump" entire folder or vault in to wordpress.
Publishing one note at a time is bit tedious.
Hi there,
the plugin worked pretty well, but I am not able to post images. Is it a bug or a feature
Using REST API by applikation
Greetings
Marcel
Please remove the entire YAML section before sending.
This plugin is amazing, I really like this kind of workflow.
but if I can remember the username and password, load categories page directly, That will be cool.
And I use REST mode, It can only show 10 categories, I dont know why. in this video , It show more categories (https://youtu.be/7YECfr_W1WM)
Maybe we can add username and password in plugin settings?
Other suggestions:
-tags
-custom url link?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.