I'd like to be able to query a Wordpress blog for a list of existing tags so that they can be offered at the time that a new post is being created. Is this possible through AtomPub with Wordpress? I'm finding the documentation for Wordpress AtomPub support to be lacking. I'm wondering if this is more of a restriction on AtomPub than on the Wordpress implementation.
Is there a way to get the list of existing tags from a WordPress blog using AtomPub?
191 Views Asked by Beau Simensen At
1
There are 1 best solutions below
Related Questions in WORDPRESS
- Ajax jQuery firing multiple time display event for the same result
- Retrieving *number* pages by page id
- How to change the name of the file during unzip?
- Pass variables to extended class
- Dynamic wordpress background Based on Slider images
- I want to remove certain parent- and child-divs in all my wordpress posts with php or some other script
- Wordpress limit post that subscriber can create
- CSS styles for all instances of a WordPress widget
- Detect the function that redirects the page
- Show success or error messages in Ajax response to Wordpress custom registration form
- Internal 500 server error: .htaccess: RewriteCond: bad flag delimiters
- Rerun loop after every third post? (Wordpress)
- Error 404 not going after Wordpress Permalink change to custom structure
- YouTube views not counting on Wordpress embed
- Include only specific categories in WooCommerce product categories widget
Related Questions in ATOM-FEED
- Adding pubsubhubbub link tag to Atom feed
- Live feeds via Atom protocol
- Making RSS/ATOM feed in html/css/java/ruby
- does apache camel-atom component supports basic authentication?
- How to declare Content-type so that browsers recognize a page is an Atom/RSS feed?
- Consuming Atom feeds: how does it work?
- How digg reader finds the feed url[s] for a given site?
- Update Private Gallery atom such that VS shows that an extension update is available
- Convert Atom (XML) to JSON
- Newsstand atom feed use and limitations
- Java framework for ATOM pub server
- OpenSearch + PHP for INSPIRE ATOM : Why can I get the correct Content-Type?
- Displaying RSS or ATOM content in ASP.NET ListView
- Wordpress Atom Publishing Protocol/XML-RPC documentation?
- Javascript collapsing ATOM nodes when parsing
Related Questions in ATOMPUB
- Live feeds via Atom protocol
- Java framework for ATOM pub server
- wcf - customizing service document
- Wordpress: Timezone issue of published field (Atom Publishing Protocol Plugin)
- query with search terms in specific elements in opensearch?
- AtomPub multipart, more than one Media Part?
- Windows Live Writer Authorization with custom AtomPub service
- Serialize class into Atom format
- AtomPub - What's your recommendation?
- Summary of OData standard for a minimal, read-only implementation
- CmisNotSupportedException when accessing /docushare/ds_mobile_connector/atom
- Is there a way to get the list of existing tags from a WordPress blog using AtomPub?
- curl query to check out a document using CMIS
- What does a consumer of a RESTful events atom feed have to remember?
- Does anybody know of an Atom APP server for .Net?
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
It seems Atom does not have a concept of "tags", only "categories". As AtomPub is based on it, it only specifies a request for categories.
The WordPress AtomPub implementation calls
get_categories()directly, which, of course, defaults to thecategorytaxonomy. However, you can filter the arguments viaget_categories_taxonomy, and change thetaxonomyargument to an array that includespost_tag. You would of course only enable this filter when there is an AtomPub request.When a post is created or updated WordPress only looks at the categories, so you will have to add the non-category terms yourself. You can do this by hooking into the
atompub_create_postandatompub_put_posthooks, which get the WordPress post ID and the full entry the client sent, which includes all terms.