WordPress.org

Support

Support » Plugins and Hacks » access content via XMLHttpRequest?

access content via XMLHttpRequest?

  • 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?

Viewing 2 replies - 1 through 2 (of 2 total)
  • 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. 😉

    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.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘access content via XMLHttpRequest?’ is closed to new replies.
Skip to toolbar