=== XML WP_Query ===
Requires at least: 4.0.0
Tested up to: 4.9.6
Stable tag: 2.6.6

Query an XML feed the same way as using WP_Query.

== Description ==
XML WP_Query is an extension of WP_Query which fetches an XML feed and converts the data into post objects. This way you can query, filter and loop your XML feed the same way you work with custom post types.

Adds support for meta_query type ARRAY_COUNT and CHILD_COUNT to check if a certain tag exists.
Adds support for meta_query compare SANITIZED to be able to use sanitize_title() to support clean search queries in the URL.

== Installation ==
1. Download the package
2. Unzip the package
3. Upload the folder to you website
4. Activate the XML WP_Query plugin
5. Configure your XML feed on the XML WP_Query configuration page
6. Create a XML_WP_Query object to query your XML feed

== Changelog ==

= 2.6.6 =
* Make notification username more generic
* Make traversing item_tag nodes faster
* Copy root node and its attributes to cache file
* Put sensitive data in CDATA blocks

= 2.6.5 =
* Fix unnecessary file_get_contents when feed is local

= 2.6.4 =
* Final fix undefined offset 0 in order_posts

= 2.6.3 =
* Fix undefined offset 0 in order_posts

= 2.6.2 =
* Filter out empty values before using array_unique

= 2.6.1 =
* Trigger update of specific package on release

= 2.6.0 =
* Performance improvements
* Small code refactor

= 2.5.6 =
* Removed notification about using the backup file

= 2.5.5 =
* Try-catch structure with sending notifications refactored

= 2.5.4 =
* Notification invalid original XML debug information json encoded

= 2.5.3 =
* Notification invalid original XML include debug information

= 2.5.2 =
* Load settings after plugins loaded instead of on init

= 2.5.1 =
* Notify about original XML file being invalid

= 2.5.0 =
* Ignore notifications about using the backup system
* Send notification to notify.yndenz.com
* Auto-update packages.yndenz.com

= 2.4.1 =
* Fixed complex type assignment issues

= 2.4.0 =
* Added support for sanitized like comparison

= 2.3.0 =
* Added support for orderby date type fields

= 2.2.1 =
* Fixed iconv() expects a string errors

= 2.2.0 =
* Added support for fields instead of returning WP_Post objects

= 2.1.2 =
* Fixed XML cleanup

= 2.1.1 =
* Fixed outdated local feed issue

= 2.1 =
* Added extra fallbacks and backup files

= 2.0.1 =
* Using a temporary file now to overwrite the cache file with a new fully converted file to prevent other visitors from using an incomplete feed while cleaning up the feed

= 2.0 =
* Massive refactor to make the code much more readable
* Changed the way the XML file is loaded to support larger files and speed up the queries
* Fixed the force update (now works with cache-only feeds too)

= 1.2.1 =
* Fixed slugs by adding ID instead of an incrementing number first

= 1.2 =
* Added support for cleaning up the feed to speed up the queries

= 1.1.3 =
* Fixed post__not_in query parameter

= 1.1.2 =
* Defined pagination variables before looping the items to prevent unnecessary compares (to speed up the query when only pagination variables are given)

= 1.1.1 =
* Added a check if the query is run in wp-admin to change the relative path to the cache file (otherwise the file could not be found)

= 1.1 =
* Before caching the XML, the post_name (or slug), post_date and ID are added to every item in the XML to speed up queries with a specific post_name or post_date
* When a query includes a post_name or ID the xpath query is extended to prevent unnecessary looping/comparison and speed up the query