Downloads
Download tar.gz
20.97 KB
MD5: e6690c1db04b2e7e8d2357fa758e64c4
SHA-1: 548c20bb104c2bb61cc71f5e1219184e00fa8f7b
SHA-256: c5925f030b9b27c235568b670aa803e0d98d06e50845f7460bf3307ec9a926cf
Download zip
25.71 KB
MD5: 77b96316a775ddb67d42a684057f5f6d
SHA-1: 1696e73314945ed925f4714ab1f48921b2cf5582
SHA-256: c3190b50fa913915b325dcb9d829134bf8f5297709d9bb5bb0bc9f7c22f21ebb
Release notes
Adds Support for $xml_elements, just add something similar to your rss template
<?php
$xml_elements = array(
array(
'key' => 'key1',
'value' => 'value1',
),
array(
'key' => 'key2',
'value' => 'value2',
);
array(
'key' => 'key3',
'attributes' => array(
'attrib1' => 'this attribute',
'attrib2' => 'that attribute',
'attrib3' => 'the other attribute',
),
),
);
?>
Your rss feed for the node type will appear like this
<item>
<title>some kind of title</title>
<link>www.somelink.com</link>
<description>some description, etc etc</description>
<key1>value1</key1>
<key2>value2</key2>
<key3 attrib1="this attribute" attrib2="that attribute" attrib3="the other attribute"/>
</item>