Posting to WordPress from Simplenote
-
Hi folks – does anyone have a nice workflow for automating posting from SN to a (self-hosted) WordPress blog?
Currently am doing it via my phone using the share feature from SN, but it invariably requires some editing on the way through which is a bit of a pain.
-
Hi @davebriggs 👋
does anyone have a nice workflow for automating posting from SN to a (self-hosted) WordPress blog?
At this moment, the feature isn’t supported in the app, and I didn’t know a better workflow than the one you’ve been using (i.e., using the Share feature in the app). However, I’m interested to see if others have a better suggestion to publish blog posts from Simplenote to WordPress too!
In the meantime, I’ve also created a feature request on your behalf to add the feature to support publishing notes from Simplenote to WordPress.
Thank you!
-
Also, why aren’t public links are simply embeddable/scrapeable in other server’s content (website’s), using iFrame or DOM or such?
-
Hi @dcsmms98734! I’m not sure I understand your question. Can you explain further with an example or a screenshot?
-
Hello @staff-frank! So, what I meant, is, that when i create a new note and its dedicated public link I get something like https://app.simplenote.com/publish/xyz which anyone with the specific URL provided can access, so far so good. However, I am then not able to embed (aka, „scraping“) my own content for my own website or blog from this link directly … so there must be some server-side restrictions on your end, which prohibit from publishing notes right away from simplenote’s public link … therefore it always requires an extra step to bring over the destination :( How convenient and useful would it be, if we’d be simply able to somehow embedd (either the plain markdown or the rendered html) directly from Simplenote’s public link in any way *fingers crossed*
-
Hi, @dcsmms98734! If you’re using a specific tool or technique for scraping, it’s possible it might be encountering limitations due to security measures. Can you tell us exactly what tool you are trying to use?
-
Hello @staff-frank, I’ve been attempting to fetch data from Simplenote’s links using both server-side PHP and client-side Javascript. Unfortunately, I haven’t had any success, possibly due to the Same-Origin Policy. My goal is to either …
- Fetch the plain markdown from Simplenote’s links, which would allow me to use a Markdown Parser (like “Parsedown”) in PHP. This would enable me to display my notes on my own website and continue editing them via the Simplenote app.
- Fetch the HTML converted text from Simplenote’s public link, which I could then style using my own CSS.
… I’m open to any method that would allow me to achieve this. Your guidance would be greatly appreciated. Thank you in advance for your help.
-
@dcsmms98734 We don’t currently have a public API for this. You can choose to write server-side scripts using tools like cURL to extract your notes directly, e.g. the command
curl https://app.simplenote.com/p/abcdef. We can’t help you figure out how to do this, but here’s a helpful resource from Stack Overflow that might be relevant: -
@staff-frank Ok, thank you for your invaluable assistance. Following your advice, I successfully managed to extract the desired content finally. However, as a note, I want to mention that I found it also necessary to explicitly include appropriate headers to overcome certain access issues. Thank you once again for your guidance!
-
That’s great to hear! Thanks for letting us know.
It sounds like you’re all set so I’ll mark this resolved :-)