The tag has no wiki summary.

learn more… | top users | synonyms

6
votes
4answers
3k views

Import Wordpress XML File from Within Functions.php

I am developing a theme which has a different method of adding in content and so, the default install of Wordpress won't show any content because of this. I was wondering if it is possible to ...
3
votes
1answer
1k views

parse XML from URL (via SOAP)

I am attempting to build out a dashboard widget that will perform a validation check on a site RSS feed using the W3 Validator. Their API docs (http://feed2.w3.org/docs/soap.html) provide the method. ...
3
votes
2answers
847 views

Localizing text from XML files

Do you guys know any way I could automatically pick up strings from .xml files and store them in a .po / .pot file, just like PoEdit does with the ones from .php files? The XML structure looks like ...
3
votes
1answer
2k views

What server settings are required to import WordPress XML file

I am trying to import my site using the WordPress import XML page. My XML file is 7mb so when I try to import it I receive a "500 Internal Server Error" page. I read some other posts and tried using ...
3
votes
1answer
2k views

What is the required format for importing posts into Wordpress?

I have several posts in an Microsoft Excel file (.csv/.xls). I want to know the appropriate format of the file to import into Wordpress.com. Note: I do not need help to convert the csv format into ...
3
votes
1answer
762 views

With WordPress Importer, why can't I import post meta containing a multi-dimensional array, in which value(s) of that array contain line breaks?

The Question With WordPress Importer, why can't I import post meta containing a multi-dimensional array, in which value(s) of that array contain line breaks? Is there a workaround that I can do to ...
2
votes
3answers
874 views

Save page data to an xml file

Is it possible to continually update an xml file on the server with data from a wordpress page? If so, how could I do it? I use this plugin http://plugins.elliotcondon.com/advanced-custom-fields/ to ...
2
votes
2answers
175 views

Hook for URL request

I would like to make XML files downloadable, instead of allowing the browser to displaying them inline. I know I can use the Content-Disposition: attachment HTTP header (of course, better solutions ...
2
votes
5answers
3k views

Import Wordpress xml file larger than 8mb

I'm trying to import a xml file (from a previous wordpress theme) into a new wordpress theme. The problem is that the xml file is 46mb much bigger than the wordpress 8mb limit. Anyone have any ...
2
votes
1answer
746 views

How do I Import an RSS feed as Wordpress posts without duplicates?

I have an XML feed url I am now using this code to create new Custom Post Type Posts from an rss feed in my functions.php file: /* | ...
2
votes
1answer
594 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 ...
2
votes
1answer
1k views

Create Posts using Import>RSS/WXR/XML and pass values to Custom Fields

My problem is simple. I need to make a lot of posts containing image url's for a "photo gallery" page. I've read up a lot on creating posts from RSS feeds and imports. I've been successful at creating ...
2
votes
2answers
1k views

Importing WordPress Attachments Into Custom Directories In wp-content/uploads/

I am hoping that someone can shed light on this problem I am trying to solve, even if simply changing my thought process as to how I could solve this. I am importing a custom CakePHP based CMS web ...
2
votes
2answers
175 views

Problems with creating hook that updates XML

I have been working on a plugin for Wordpress, that updates an XML file with elements from the post. I have used a third party plugin to create the field for the XML, and so far that is working. I am ...
1
vote
1answer
41 views

Is it possible to export WordPress from command line?

Is it possible to export WordPress from command line? I don't mean use mysqldump to export the database, but create the xml file used to easily import to another WordPress installation.
1
vote
2answers
3k views

How to read the xml file in wordpress?

I have a feed link http://www.wdcdn.net/rss/presentation/library/client/iowa/id/128b053b916ea1f7f20233e8a26bc45d and I have to read all the elements of feed including credits, here is how the feed is ...
1
vote
2answers
371 views

Search XML file from within Wordpress?

We use Jira internally for an defect mgmt system. We want to provide defect tracking to our clients. We cannot expose Jira to the web, but we do have our main site hosted on WP 3.2.1 I can export a ...
1
vote
2answers
634 views

How to add featured image or custom field to xml feed?

I already tried the plugins RSS Manager, Add featured image to RSS feed and Featured Image In Rss Feed. But all they do is add the image inside the <description> attribute of the xml feed. ...
1
vote
1answer
123 views

Post processing of uploaded file

When a file with the .xml extension has been uploaded on my blog (via the Add Media uploader) I would like to automatically replace some attributes. For example, if I upload a file with this content: ...
1
vote
1answer
112 views

Using WPDB to output raw XML fails because of wp-blog-header.php

I'm coding a plugin. One particular file of this plugin is supposed to pull data from the plugin's custom DB table, and output it with minimal processing as raw XML. The problem is, to get the WPDB ...
1
vote
1answer
526 views

update_post_meta, xml parser

I'm hitting the wall for nearly two hours now, trying to figure this out. Here is the thing' I have made a xml parser to read xml file and add posts (with content) from xml: $ch = curl_init( ...
1
vote
1answer
27 views

Wordpress import does not fetch images, but just links them

I have used the Wordpress Importer plugin to export content from site 1 and import into site 2. When exporting content, i selected "All content" and downloaded the export XML file. Then when i ...
1
vote
0answers
34 views

A question on WXR

I have a quick question around the import file for WordPress (WXR) as I'm really new to WordPress, a couple of things don't make sense. In most examples I found, the first part of the /channel node ...
1
vote
0answers
99 views

Plugin or advice on how to parse XML in real-time?

I am working on a project for my university basketball team. During each game their statistics software will create an XML file and update it mid-game with player statistics, shots, etc. What I ...
1
vote
0answers
52 views

Export xml use/import images from theme directory

Is it possible to create demo.xml for a theme that when imported into fresh theme installation will use/import images from theme directory folder (e.g. theme/images/demo) rather than import media from ...
1
vote
0answers
190 views

Problems with Wordpress Import

I have a VPS hosting account with Web Fusion and am migrating one of my Wordpress sites to it. The Wordpress export file is about 29 MB. At first i encountered an Internal Server Error after ...
1
vote
1answer
2k views

How to get a Google maps SQL->XML->map marker tutorial to work in WordPress

I have been trying to figure out what is wrong with my code for a couple days now, and I can't seem to crack it. I am trying to follow this tutorial I tried all three of the suggested methods to ...
1
vote
0answers
272 views

Lead/contact form export to XML [on hold]

I have a lead form that I want to send leads to an external CRM in XML format when someone fills it out. Ive looked at most of the popular solutions documentation (Contact form 7, gravity, Wufoo) and ...
1
vote
1answer
688 views

Create XML files on post edit screen

Ok, that's a weird question, I know.. I'm so confortable with WP that I don't want to use any other application to generate XML (KML - Editors note: These are Google Earth files.) files. I want to ...
0
votes
2answers
461 views

How to import Theme Unit Test on localhost

I am a total beginner with WP and struggle to import this xml file. Tools->Import->WordPress and here I am asked for Hostname, FTP Username, FTP Password and Connection Type. I am on local mashine... ...
0
votes
2answers
109 views

Receive error exception using xampp with wordpress

I have this php function in xampp server using php 5.5, using a live server with php 5.3 I get no error. The error says Fatal error: Uncaught exception 'Exception' with message 'String could not ...
0
votes
1answer
80 views

Work with xml file and Wordpress

by a URL that generate an XML page, example: http://thegamesdb.net/api/GetGame.php?id=2 how can import it in Wordpress site with mapped request custom field? thanks Stew
0
votes
2answers
273 views

Import External XML

I don't know where to start with this one. I would like to create custom post type which will list properties on clients website. I would like those properties being feed from another ...
0
votes
1answer
44 views

How to import XML to Wordpress as post and custom fields?

I need to import content (daily) from a xml file into wordpress. I am not looking for a specific answer, and I don't expect someone to write the whole code here, I just need some guidance on how to ...
0
votes
1answer
25 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
425 views

Importing from XML is ignoring serialized custom field

I have been trying to import something into a custom field using the WordPress Import tool but it seems to be leaving the custom field empty in the database. ...
0
votes
2answers
316 views

How to process shortcodes in XML-RPC

Firstly, I know that XML-RPC is designed to send out the raw post data, but I need it to expand shortcodes out. I don't use it for posting so it won't be an issue there, but there are services that ...
0
votes
1answer
2k views

How to add post featured image to RSS item tag?

I am able to add a post featured image to the RSS feed like so: function insertThumbnailRSS($content) { global $post; if(has_post_thumbnail($post->ID)){ $content = ...
0
votes
1answer
550 views

how to convert XML from URL to HTML

I would like to know how can I, in Wordpress, convert XML URL (for example http://www.baligam.co.il/products/rss) to HTML and show it in actual. Maybe there is a plugin for this purpose? Thanks,
0
votes
2answers
281 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
334 views

Error in importing wordpress xml [closed]

Iam trying to import my old xml to a newly installed wordpress(3.0.1), the max upload size shows 0, i tried uploading it, but it ended up with empty screen. How should i proceed?
0
votes
1answer
137 views

How to create a plugin page that shows XML?

I'm looking for the best way to create a plugin page that displays XML. It needs to be: Front facing to the public Valid XML that removes all the admin hub-bub and allows me to change the header ...
0
votes
0answers
18 views

How to replace all images within exported xml files to demo.jpg?

I'm going to create a demo data by exporting a site (Wordpress Export Tool) and get an xml file. I don't want my users who import my xml and get all actual images of the site. Is it possible (in not ...
0
votes
0answers
22 views

WP_Remote_Get feed from .php file

I have a bunch of wordpress sites which sit on different domains, and I want to track all the user data on one central site. I wrote a simple file for each wordpress site to display user counts in an ...
0
votes
0answers
14 views

Changing Atom feed read frequency

Thanks coders for your help on this site. I admin a radio station site that displays current Artist/Title playing which is read from an atom feed. In the past I have used a piece of Flash code, but ...
0
votes
1answer
44 views

RSS/XML of all Categories and/or Tags

Is it possible to get an RSS / XML feed of all WordPress Categories and/or Tags? I've searched the Codex, which was very helpful in giving examples on how to access specific, individual RSS feeds, ...
0
votes
1answer
30 views

Serve content from centralized location

I'm looking for an easy/efficient way to manage & serve content from one master WP site to multiple drones (NOT multisite). On the master site i'll have custom post type "served_content". The ...
0
votes
1answer
13 views

Convert javascript running xml files to wordpress platform

I have a website I want to convert over to the wordpress platform. On the existing site I use some javascript to pull in images and text from xml files. Can I still get this to work in a wordpress ...
0
votes
1answer
51 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
0answers
36 views

How to create a button for importing demo content (.xml file)

I want to create a button (Import Demo Content) in my theme option panel. If user click Import Demo Content button then selected .xml file uploaded automatically and send successful message. I ...