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
5answers
6k 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 ...
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
951 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
880 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
992 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
186 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
1answer
904 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
730 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
2k 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
2k 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
184 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 ...
2
votes
0answers
353 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 ...
2
votes
1answer
3k 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
1answer
86 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
406 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
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 = ...
1
vote
2answers
1k 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
145 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
117 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
546 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
57 views

The problem with Wordpress Importer

I've tried many times to upload theme-unit-test-data.xml from http://codex.wordpress.org/Theme_Unit_Test But when I'm trying to upload this file in WordPress Importer it gives me an error saying: ...
1
vote
1answer
222 views

WP http XML response HTML encoding and image display problems

This is my very first WP plugin. Theres probably going to be more than one question here and they're all related so I'm going to ask all here. Working test here Tracking number to use: lc0614061377 ...
1
vote
0answers
96 views

Display image from an external rss feed on wordpress without plugins

I am trying to add an external RSS Feed to my wordpress theme. Displaying the feed content and title was a success. But I don't see any option to display the image from the external feed. I tried ...
1
vote
1answer
54 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
67 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
103 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
50 views

Query posts and return XML

Here is the short and sweet of what I am hoping to do. I would like to have a way for external websites to query mine using a game title and they would get an XML back that contains the text of the ...
1
vote
0answers
244 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
2answers
408 views

Importing wordpress. xml file on new installation

I am trying to move a wordpress installation to a new server. I usualy create a new database using phpmyadmin on the new server, import the sql file from the old server, then install wordpress but ...
1
vote
0answers
326 views

Lead/contact form export to XML [closed]

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
747 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
781 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
193 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
110 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
313 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
28 views

Wordpress content on non-WP site residing on a remote domain — how to display posts?

I have a website (non-wordpress) with a sidebar that I want to display the "latest 3 posts" from my wordpress blog that resides on a different server. I would like to also style the 3 posts using ...
0
votes
1answer
13 views

How can transfer get so large when exporting data (15-16MB to over 10GB)

When I try to export a database throught Wordpresses export-function (database = about 15-16 MB), I get this in the xml-file created (that is 1kb): Fatal error: Allowed memory size of 100663296 ...
0
votes
1answer
73 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
34 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
584 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
370 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
619 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
301 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
374 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
152 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
14 views

How to create an XML Exporter?

I made an XML Exporter in PHP and then thought it would be really useful as a Wordpress plugin, however I'm having some difficulty as I'm new to Wordpress. I wrote an Exporter in PHP that allowed ...