0
votes
1answer
52 views

Adapting a php array to WordPress

The guys over at the other Stackoverflow said I should post this here. I've been reading and tweaking code for three days and can't figure this out, because I'm new to php. The developer that wrote ...
0
votes
1answer
27 views

Retrieve Plugin Settings and insert into XML string

Apologies for any confusion as I'm completely out of my depth here: I've been trying to write a plugin which will send form data as XML to a CRM using SOAP. The basic plugin works fine, but I would ...
0
votes
1answer
29 views

Xml output not places where i want

I have a script that checks status (daily with cron) of some sites and write result in a xml document. Xml is like this : <?xml version="1.0" encoding="UTF-8"?> <xml> <sites> ...
0
votes
0answers
148 views

add conditionals to a displayed external xml feed

I found the following code online and customized it to pull the xml feeds from our online calendar software and display event information on several different WP pages. function otpl_add_class_feed() ...
2
votes
1answer
622 views

How can I get an XML export of my 1K+ posts WordPress instance?

I'd like to export my database to XML because the import script to my new blog already supports getting data from that. A database backup or wordpress clone is not that useful in this case. The ...
0
votes
2answers
287 views

Fetching review value using wpdb class

I'm generating an XML file using PHP for a website where they review tech products. In the XML file, I have to display the rating of products. For rating purposes, I'm using GD Star Rating plugin. ...
0
votes
1answer
3k views

Failed to Open Stream: Permission Denied While Writing to an XML File in a WordPress Plugin

I'm trying to write to an XML file in a WordPress Plugin. I'm on my local machine, a Mac running MAMP. I have PHP 5.2.13 My code is: $file_handle = fopen('markers.xml', 'w'); $stringdata = "Test ...