Extensible Markup Language (XML) is a markup language that defines a set of rules for encoding documents in a format that is both human-readable and machine-readable.

learn more… | top users | synonyms

1
vote
0answers
33 views

Importing data into Drupal 8

I have various spreadsheets of data to import into Drupal 8. I can create a content type for each spreadsheet. I can convert the data the spreadsheets into various formats (csv, JSON, XML, whatever). ...
0
votes
1answer
11 views

Generate form from XML

I have a standard form structure with fieldsets etc. I'm trying to populate my form into various nodes. This means that the same form will be displayed on more than one nodes. For every node, the ...
1
vote
2answers
26 views

Migrating XML data with many-to-one relationships

I'm using Drupal 8's migrate system to import data from an XML source which has this simple layout: <books> <book> <isbn>...</isbn> ...
1
vote
2answers
20 views

Move XML once they're processed in Feeds

Currently, I'm using Feeds & Feeds XPath Parser for importing XMLs into my Drupal 7.x site. As per the requirement, it's working perfectly fine expect the moving feature. What I need to do is to ...
0
votes
0answers
9 views

How to import Images and YouTube URLs using Feeds Fetcher Directory

How to import Images and YouTube URLs which are defined as an absolute URL in XML using Feeds Fetcher Directory <?xml version="1.0" encoding="UTF-8"?> <Story> ...
1
vote
1answer
35 views

Migrate from xml with two attributes as condition

I have a problem with drupal migrate, i'm trying migrate content with this xpath: item_xpath = '/import/content/contentInstance[@contentTypeId=\'ac1ssss___\' @window=\'blank\]'; when i execute ...
0
votes
0answers
68 views

Wrap 'full html' output with CDATA in Service view in drupal 7?

I'm using Services and Services Views modules. I have created service display view which includes body field(full html type). In the output url view source body is rendering with &lt;p&gt; ...
0
votes
0answers
59 views

How to add completely custom URLs to Sitemap in module XMLSitemap in Drupal 7

I have a website with which has some different URLs that are not inserted in the url_alias table not embedded into Drupal content system, but they are generated on-the-fly by custom PHP logic inside a ...
0
votes
0answers
6 views

Fetch from RSS Feed, then fetch from referenced documents

I have been looking through the feeds documentation looking for the best way to do the following: Fetch the RSS Feed, and then create nodes for each feed item. For every node created (i.e. URL in ...
0
votes
0answers
34 views

How to use prepareKey() for the Migrate module

I am trying to do write a migration class extending the Migrate module. The migration will be from an XML file so I will want to extend the XMLMigration class. Based on the Migrate modules wine.inc ...
0
votes
1answer
49 views

How to format QueryPath Xpath Mappings in Feeds Module

I have an XML document with the following structure: <?xml version="1.0" encoding="utf-8"?> <ooh> <occupation> <title type="text">Accountants and ...
5
votes
1answer
50 views

How to keep/access copy of original Feed file when using HTTP Fetcher?

I've created Feeds importer to parse remote XML feed using HTTP Fetcher fetcher and I've created content type for that importer and Attached to it in Settings. So my feed and import works fine after ...
0
votes
1answer
77 views

Custom field in XML with Views RSS module

I need to create an XML using Views RSS module, and it's created correctly. But I want to add a custom field to the XML. For example, an item from the XML is: <item> <title>Liburu ...
0
votes
1answer
152 views

WordPress Migrate 502 Bad Gateway nginx

I did a fresh Drupal(v7.39) installation on Nginx server. Everything seem fine until the WordPress Migration process with "Migrate", "WordPress Migrate", and "Migrate Extras" modules. The error ...
0
votes
0answers
14 views

How to map hierarchical term via XPath node feed using xpathparser?

This is similar to this question, but about how to map a term in terms of hierarchy. For instance I've the following XML: <type> <uk>Townhouse</uk> </type> <subtype> ...
1
vote
1answer
41 views

Feeds XPath Parser - Update existing content

I have created a Feed Importer and used XPath Parser for mapping. I have problem with updating a existing content. For example I have this xml structure. <node> <nid>1</nid> ...
1
vote
0answers
88 views

Customizable/style-able Google calendar in Drupal?

I'm having an issue with embedding a Google calendar and am wondering if anyone here has any ideas! My client wants a Google calendar on his site that can be styled. The style itself isn't a huge ...
0
votes
1answer
32 views

Import date to Drupal

I am receiving data from a third party company through XML. I want to add this to my website as drupal nodes, having some information like title, body, summary, image,... I am able to make a cron job ...
1
vote
2answers
114 views

Drupal 7 Feeds Module XML importing not working [closed]

Drupal 7 Feeds Create a content type "test system" with 2 fields Content type: test system field: id, integer name, text Create a XML file, and upload it to the server. <?xml version="1.0" ...
0
votes
0answers
27 views

WSClient - Insert XML into a text parameter without it being html escaped

I'm using WSClient module to consume external APIs. One API I need to read requires a complex XML structure sent through REST. The complexity of the XML resides in the fact that each node needs ...
0
votes
1answer
143 views

Import xml with Feeds module. Only one value is imported

I have a xml (http://pastebin.com/q64L3ECX) that I need to import with Feeds module into my site. Basically, with this xml example, I need to import 3 nodes where my GUID (set as unique) is ...
1
vote
1answer
79 views

Views data export remove tags from xml output

I want to remove <no-name> tag generated by views data export on xml output Any ideas please? I have already tried to override template output for the field but no results :(
0
votes
1answer
185 views

How to import multiple terms from XML into a node?

I am trying to import all the Destinations as taxonomy terms using following XML. In my situation, the list is not a comma separated list. It is as follows: <product> ...
0
votes
2answers
173 views

Feeds module is stripping html tags from xml

I tried my best to find an answer, but now I am finally stuck. I am using Drupal 7.36, Feeds 7.x-2.0-alpha8 and used already 7.x-2.x-dev. I am trying to import a XML file using the Feeds module with ...
0
votes
1answer
167 views

Import data into Select List using using Feeds and the Feeds XML Parser from xml file

I have to import some data from a xml document. I'm usuing the https://www.drupal.org/project/feeds and the https://www.drupal.org/project/feeds_xpathparser modules. I have other fields which get ...
1
vote
0answers
30 views

view dataexport xml file

I am trying to export a date field as mm/dd/yyyy. I keep getting the time 0:00:00 added on the end. Can someone tell me how to format the output from within the view. Formatter: choices are Date and ...
4
votes
1answer
89 views

How to get XML/JSON data for api.drupal.org?

In my earlier question How to get node IDs from drupal.org?, I can get the XML data of a node by going to https://www.drupal.org/api-d7/node/274365.xml where 274365 is the node id of a particular ...
1
vote
1answer
25 views

add site language to XML

i'm trying to get a extra element in our XML that show the site langues where te customer is working in. However i can not get is to work.... Here is the code: if ($submission->nid == 315) { ...
1
vote
0answers
119 views

XML Feeds extensible parsers: what is Value in Parser or Bundle in Processor?

I am trying to generate an apartment listing through Feeds and Extensible Parsers from a feed like this: <?xml version="1.0" encoding="UTF-8" ?><apartmentFeed version="1.0" ...
1
vote
1answer
94 views

What is wrong in my XML structure to add nodes using a RESTFul web service POST?

I'm using RESTFul Web Services module with Drupal 7. I can log in with basic authentication, get CSRF-token, get nodes, and so on. The problem is with POST/PUT: I cannot get adding nodes to work. I ...
2
votes
0answers
23 views

How do I stop Xpath Parser from auto-calculating my timezone?

When I upload an XML file using the Xpath Parser, Drupal subtracts 8 hours to account for my Pacific Time Zone. This isn't helpful, as it requires for me to convert time in my head. Is there any way ...
2
votes
2answers
147 views

Importing Published status from xml using Xpath parser

I have an xml page that I want to import. Although I'm able to successfully import the Title and Body, Im unable to import the published status and promoted-to-front-page settings for the page. Here ...
0
votes
1answer
341 views

how to get XML content over HTTP request?

I'm building a module and I need to get XML content over HTTP request. The idea is to create nodes programmatically with the retrieved data from the xml file. Can I do this?
1
vote
2answers
241 views

How to output XML schema with Services module?

I have set the REST server with the Services module. Also I've installed the Services Views module, created a new view that outputs the desired fields into XML. That's working fine. How can I add ...
1
vote
1answer
128 views

How to prevent Drupal export XML formatter adding paragraphs?

I'm exporting nodes as XML and with fields in most nodes set to "Plain text" format. Everything is fine when I'm editing them, but when exporting an extra paragraph (<p>) tag is added around ...
0
votes
1answer
370 views

How to get acces to XML tag attributes via XPath parser settings?

I need to parse XML attributes via Feeds Importer XPath parser exitsting XML tag structure is: <MunicipalUnion Id="2a1c7bdb-05ea-492f-9e1c-b3999f79dcbc" Name="Moscow" TypeMU="city"/> If i ...
1
vote
1answer
168 views

Is there any XML editor for textarea

I want to insert XML editor for text area. Is it possible? Currently Is there any XML data editors. If there is no XML editor for text area what is the possible way .
0
votes
1answer
145 views

Importing nodes from custom XML feed: how do I convert some XML fields into entity references?

Here's the problem: I'm migrating a Wordpress website to Drupal. It's a gaming portal with a highly customized Wordpress with custom fields, so we decided to generate some XML dumps from Wordpress, ...
0
votes
0answers
89 views

simplexml_load_file() alternatives in drupal to fetch API data

Hello I just really want to know how can I fetch data from a API Link and store the data in database? In custom PHP I used simplexml_load_file() to fetch the data from API. I created the following ...
0
votes
1answer
102 views

DPM simpleXMLElement returns just the object but echo returns its value

When I DPM the simpleXMLElementObject it returns (Object) SimpleXMLElement print_r returns the following: SimpleXMLElement Object ( [0] => c1e1c959-c99d-42f0-8a44-2998b ) Although when I ...
0
votes
1answer
411 views

Rewrite empty Fields on Feeds periodic Import

I have set up a periodic feed importer in drupal which imports nodes and updates existing nodes. Lets assume the imported xml consits of two fields: the title and a long text field. I import the ...
0
votes
1answer
161 views

Migrate — Highwater field using XML import

Using Migrate to import via XML, updates are being saved but not recognized. Here's my Migrate code -- all fields are saved and the highwaterfield is stored in the migrate_log table. Am I missing ...
2
votes
2answers
255 views

How to load XML to SWF on each node?

Here is my problem: I have 2 SWF files for a crossword puzzle: first one is for creating puzzles and outputting XML files upon clicking the "Save" button and second SWF is displaying those puzzles to ...
0
votes
1answer
393 views

Import soap webservice xml to Drupal 7 with feeds

I have a soap web service which requires authentication to access its various function. I want to call one function of this web service and import that XML to node in Drupal with feeds module. I am ...
0
votes
1answer
491 views

Importing nested XML using Feeds XPath Parser

I have some XML formatted as such: <item> <title>Name</title> <id>12</id> <upgrade> <id>13</id> ...
0
votes
1answer
902 views

What do I set GUID to in Feeds Import?

I was told I should use GUID and tick Unique setting for best method of filtering out duplicate content each time cron runs. But what do I set GUID to? My XML sources has like only , etc. Now I am ...
0
votes
2answers
321 views

Drupal feeds importer: Importing large datasets via HTTP

I'm having trouble importing a very large dataset with feeds. It's about 8mb of text in XML format. It imports impossibly slow (I started it about a month ago and it's still not finished). However, ...
0
votes
2answers
4k views

Import xml data into drupal 7

I am new to drupal. To import xml data into drupal, i followed these steps given in this website which i mentioned it below. ...
0
votes
1answer
149 views

Hyphenated nodeName or DTD nested in XML causes Feeds XPath Parser failure

I am using Feeds and Feeds XPath Parser. I have an XML source like this. <xml> <records> <record> <EAC-CPF xmlns:eac="http://jefferson.village.virginia.edu/eac" ...
0
votes
0answers
376 views

Drush migrate --idlist error: Migration failed with source plugin exception

When running drush migrate-import with --idlist option I got this error: $ drush mi BeersMigration --update --idlist='1001' -d ... Importing 'BeersMigration' migration [1.2 sec, 30.83 MB] ...