access content via XMLHttpRequest? (3 posts)

  1. bucky
    Posted 11 years ago #

    Hi, this is a followup to my post: iframe sub-posts/floating footnotes?

    It's occurred to me that I could have draggable IFrames that call back into WP to get little snippets of content, via XMLHttpRequest ... My question is:

    What is a preferred strategy for storing little bits of content in WP? They're not full-fledged blog posts, and I don't want them showing up as pages either (unless there is a good way to hide a sub-hierarchy). If you were going to have something akin to "stickies / post-its" that you could access from any blog post, how would you store those stickies in WP-space?

  2. Denis de Bernardy
    Posted 11 years ago #

    I'd store them as pages, but posts would be just as well. The important thing then would be to make them recognizable; To this effect, I'd put them all in a special category, like I did with the highlights category of my blog to highlight read-worthy posts.

    Then I'd create a plugin that lists pages except those in the default category (in which, as you surely know, you'll find all the pages).

    Since you're discussing XMLHttpRequest, I presume you'll know how to do all this. ;)

  3. bucky
    Posted 11 years ago #

    I've mulled over some of the issues I expect to come up. That's at: "An Overview of Sub-Posts". Hope it's coherent.

Topic Closed

This topic has been closed to new replies.

About this Topic


No tags yet.