JackenHack

  • About
  • Computers
    • Macintosh
    • iOS
    • Raspberry Pi
    • Linux
  • Electronics
  • Projects
Home » Editorial

wpid Added to File Name When Uploading With xmlrpc

February 8, 2015 by Jack Zimmermann Leave a Comment

Python logoI’m working on my script for uploading images directly from the iOS Markdown text editor app Editorial to WordPress. The current script uses xmlrpc-Wordpress library, but I’m writing my own so the user doesn’t have to install the extra library just to use my script.
When uploading files with xmlrpclib, I got this annoying thing happening. Every time I uploaded an image using xmlrpclib and the function wp.uploadFile the uploaded file got wpid- prepended to the filename of all my uploaded files.

[Read more…]

Filed Under: Wordpress Tagged With: Editorial, Python, Wordpress, xmlrpc

Editorial App Workflow Upload Image to WordPress Media Library Version 2.2

January 31, 2015 by Jack Zimmermann 2 Comments

Editorial iOS app iconDownload on the AppStoreI’ve tried a lot of blogging apps for the iPad, but none of them handles images the way I want. Images gets the weird name iOS has assigned to them which is not good for SEO. When I upload images to WordPress, I want them to end up in the WordPress Media Library and have all the theme defined sizes created automatically. Just like when you upload from the web interface in WordPress. There’s an added problem when you want your site to support images displayed on a Retina or high DPI device, showing the picture in high resolution using a plugin like WP Retina x2. My favourite text editor on iOS is Editorial app, So I made this Workflow so I can do the naming, resizing and uploading of the images directly inside the app from my iPad or iPhone 6 Plus. You can select which of the theme defined image sizes you want to display and also set the image alignment. This workflow works excellent with the WP Retina x2 plugin, which is the one I use on my site. When everything is done, you have an MultiMarkdown referred image link at the cursor position in the text editor, and the image link and information like width, height and alt-text is added to the end of the document. This makes a very convenient way of blogging on the iPad.

[Read more…]

Filed Under: iOS Tagged With: Blogging, Editorial, iOS, Markdown, Python

Editorial App WordPress Upload images Workflow updated

January 13, 2015 by Jack Zimmermann

I have being going through the code for the Editorial App Workflow for uploading images directly to WordPress Media Library and added some functions. There where several bugs and problems. Should work better now. 

— Bug where scaling didn’t work at all (shame!)

— Added full resolution image as alternative

— should work now for blogs that doesn’t automatically make scaled versions of uploaded images, only presented with the option to use full resolution. 

Filed Under: iOS Tagged With: Editorial, iOS, iPad, iPhone

Editorial iOS Upload Images to WordPress Workflow

April 17, 2014 by Jack Zimmermann 8 Comments

Update: A newer, better version has been created. You can download it here.

 

 

Download on the AppStore

I use the excellent iPad app Editorial as my preferred text editor. I want to be able to upload images directly from Editorial to WordPress, using xmlrpc, so the images ends up in the media gallery, the files in the correct folders, thumbnails made and a Markdown link with the correct URL is created. So I’ve written a workflow you can download that gives you the ability to select some text (that will be the alt text for the image), and either upload the image in the original size, or resize the width to the dimension you specify. After the image is uploaded, the Markdown image code is inserted. Another good thing is that you have the ability to name the image file, which I haven’t seen in other solutions, like in Poster App, where you get the cryptical iOS internal name of the image. Not so SEO friendly. The easiest solution was to use the wordpress_xmlrpc module, so that needs to be installed before you can use the workflow! but I’ve written a guide about how to install the module/library here. If you forget to install it beforehand, you will get this dialog box with instructions on how to install it if you start the workflow.

[Read more…]

Filed Under: iOS Tagged With: Blog, Blogging, Editorial, iOS, iPad, Markdown, Wordpress

How To import modules with Pipista into Editorial iOS app

April 7, 2014 by Jack Zimmermann 15 Comments

1377461573.jpg

Importing pipista modules in Editorial

Download on the AppStoreLets face it, the Editorial App is a fantastic text/Markdown editor. It’s incredibly powerful with scripting abilities. But one of the most amazing tool for a power user is the ability to write Python scripts that can do almost anything. There are a lot of modules included with Editorial, but how do you add a library if it’s not included? There is a script for Editorials sister application Pythonista, that makes it easy to add modules, and you can use that for importing libraries to Editorial as well. The script is called Pipista.

[Read more…]

Filed Under: iOS Tagged With: Editorial, iOS, iPad, Markdown, Programming, Python, Pythonista

  • 1
  • 2
  • Next Page »
Portrait of Jack Zimmermann I'm a Swedish computer old timer hacking away on computers since 1979. I'm a total Apple and Linux gear head. Right now, I'm really into electronics. [Read More]

Recent Posts

  • Atom Editor Platformio Hangs at startup endless restart – fixed
  • Hackintosh AMD Shutdown Problem with Fenvi FV-T919
  • Hackintosh Water Cooling Fan Problem
  • MiSTer FPGA Getting Arcade Cores To Use mra Files
  • Quartus Prime FPGA USB-Blaster Problems On Ubuntu 18.04

Categories

Ads

Copyright Jack Zimmermann © 2003–2021 Login
This website uses cookies to improve your experience. We'll assume you're ok with this, but you can opt-out if you wish. Cookie settingsACCEPT
Privacy & Cookies Policy

Privacy Overview

This website uses cookies to improve your experience while you navigate through the website. Out of these cookies, the cookies that are categorized as necessary are stored on your browser as they are essential for the working of basic functionalities of the website. We also use third-party cookies that help us analyze and understand how you use this website. These cookies will be stored in your browser only with your consent. You also have the option to opt-out of these cookies. But opting out of some of these cookies may have an effect on your browsing experience.
Necessary
Always Enabled

Necessary cookies are absolutely essential for the website to function properly. This category only includes cookies that ensures basic functionalities and security features of the website. These cookies do not store any personal information.

Non-necessary

Any cookies that may not be particularly necessary for the website to function and is used specifically to collect user personal data via analytics, ads, other embedded contents are termed as non-necessary cookies. It is mandatory to procure user consent prior to running these cookies on your website.