Title: Using loop in an XML file
Last modified: August 18, 2016

---

# Using loop in an XML file

 *  [maxmunton](https://wordpress.org/support/users/maxmunton/)
 * (@maxmunton)
 * [18 years, 8 months ago](https://wordpress.org/support/topic/using-loop-in-an-xml-file/)
 * This has probably be raised before, but I need to use the loop in an XML file
   so I can enable a Flash applett to read the latest entry headlines/exerpts etc
   from my site.
 * Is there any plugins available or any tips to allow me to do this?
 * I know that with Greymatter (yeah that old blogging system!) you could just set
   up a page/document with the variables and tell greymatter to update it when new
   entries were added. So it’d be similar to this? Is it possible with WordPress.
 * All the best, Max.

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Thread Starter [maxmunton](https://wordpress.org/support/users/maxmunton/)
 * (@maxmunton)
 * [18 years, 8 months ago](https://wordpress.org/support/topic/using-loop-in-an-xml-file/#post-615376)
 * bump
 *  [roganty](https://wordpress.org/support/users/roganty/)
 * (@roganty)
 * [18 years, 7 months ago](https://wordpress.org/support/topic/using-loop-in-an-xml-file/#post-615448)
 * create a php file called xml.php and start it with header(“Content-Type: text/
   xml”) then include the wp headers
 * This will work if you call the file from a url such as [http://example.com/xml.php](http://example.com/xml.php)

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Using loop in an XML file’ is closed to new replies.

## Tags

 * [flash](https://wordpress.org/support/topic-tag/flash/)
 * [loop](https://wordpress.org/support/topic-tag/loop/)
 * [xml](https://wordpress.org/support/topic-tag/xml/)

 * In: [Developing with WordPress](https://wordpress.org/support/forum/wp-advanced/)
 * 2 replies
 * 2 participants
 * Last reply from: [roganty](https://wordpress.org/support/users/roganty/)
 * Last activity: [18 years, 7 months ago](https://wordpress.org/support/topic/using-loop-in-an-xml-file/#post-615448)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
