[wp-trac] [WordPress Trac] #21398: Live preview of new post/page via XML-RPC for mobile clients.
WordPress Trac
wp-trac at lists.automattic.com
Sat Aug 11 15:50:57 UTC 2012
#21398: Live preview of new post/page via XML-RPC for mobile clients.
--------------------------+------------------
Reporter: daniloercoli | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: 3.5
Component: XML-RPC | Version:
Severity: normal | Resolution:
Keywords: mobile |
--------------------------+------------------
Changes (by redsweater):
* cc: jalkut@… (added)
Comment:
Ideally this would be solved in a way that allows the client to download a
reusable template for the current theme. You don't want to be sending
changes up to the server every time you want to get an update for how the
post is going to look. In my Mac desktop client, MarsEdit, I update the
live preview within a second or so after the user ever pauses typing. If
this was hitting the network every time it would not only be agonizingly
slow, but it would be a major bandwidth hit. The bandwidth hit is, of
course, especially undesirable on mobile devices.
Ideally we would get a call like wp.getPresentationTemplate with
parameters for whether the template will be applied to a post or a page,
and perhaps further options to allow different templates based on the new
post formats.
Essentially if the API could do a dry-run through the render loop for the
pertinent type of post, supplying dummy template placeholders wherever the
theme asks for e.g. post content, it would be ideal for clients who want
to offer an accurate, highly efficient preview of how the post will look
on the blog.
Daniel
--
Ticket URL: <http://core.trac.wordpress.org/ticket/21398#comment:6>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list