UnitTest( feed.asp )

Output

Example as Atom
---------------
<?xml version='1.0' encoding='UTF-8'?>
<feed xml:lang="en-us" xmlns="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/">
	<link href="http://feed/Link" rel="self" type="application/atom+xml"/>
	<link href="http://server/link" rel="alternate" type="text/html" title="Link Title"/>
	<author>
		<name>Jesper Aaberg</name>
		<uri>http://Jesper/Aaberg</uri>
		<email>jesper@contoso.com</email>
	</author>
	<category term="FeedCategory" scheme="http://domain.com/CategoryScheme" label="CategoryLabel"/>
	<contributor>
		<name>Lene Aaling</name>
		<uri>http://lene/aaling</uri>
		<email>lene@contoso.com</email>
	</contributor>
	<rights>Copyright 2007</rights>
	<subtitle>This is a sample feed</subtitle>
	<generator>Sample Code</generator>
	<id>http://feed/Link</id>
	<logo>http://server/image.jpg</logo>
	<updated>2017-12-14T04:28:48Z</updated>
	<title>Feed Title</title>
	<content:encoded>Some Custom Element Content</content:encoded>
	<entry>
		<content>
			<![CDATA[Some text content]]>
		</content>
		<id>http://server/items</id>
		<updated>2017-12-14T04:28:48Z</updated>
		<title>Item Title</title>
	</entry>
</feed>


Example as RSS2
---------------
<?xml version='1.0' encoding='UTF-8'?>
<rss version="2.0" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<atom:link href="http://feed/Link" rel="self"/>
		<atom:link href="http://server/link" rel="alternate" type="text/html" title="Link Title"/>
		<link>http://feed/Link</link>
		<managingEditor>jesper@contoso.com (Jesper Aaberg)</managingEditor>
		<category domain="http://domain.com/CategoryScheme">
			<![CDATA[FeedCategory]]>
		</category>
		<atom:contributor>
			<atom:name>Lene Aaling</atom:name>
			<atom:uri>http://lene/aaling</atom:uri>
			<atom:email>lene@contoso.com</atom:email>
		</atom:contributor>
		<copyright>Copyright 2007</copyright>
		<description>This is a sample feed</description>
		<generator>Sample Code</generator>
		<atom:id>http://feed/Link</atom:id>
		<image>
			<url>http://server/image.jpg</url>
			<title>Feed Title</title>
			<link>http://feed/Link</link>
		</image>
		<language>en-us</language>
		<lastBuildDate>Thu, 14 Dec 2017 04:28:48 Z</lastBuildDate>
		<title>Feed Title</title>
		<content:encoded>Some Custom Element Content</content:encoded>
		<item>
			<atom:content>
				<![CDATA[Some text content]]>
			</atom:content>
			<guid>http://server/items</guid>
			<atom:updated>2017-12-14T04:28:48Z</atom:updated>
			<title>Item Title</title>
		</item>
	</channel>
</rss>



Serializing State
-----------------
{
  "AttributeExtensions": {
    "xmlns:content": "http://purl.org/rss/1.0/modules/content/"
  },
  "Authors": [
    {
      "AttributeExtensions": {},
      "ElementExtensions": [],
      "email": "jesper@contoso.com",
      "name": "Jesper Aaberg",
      "uri": "http://Jesper/Aaberg"
    }
  ],
  "Categories": [
    {
      "AttributeExtensions": {},
      "ElementExtensions": [],
      "label": "CategoryLabel",
      "name": "FeedCategory",
      "scheme": "http://domain.com/CategoryScheme"
    }
  ],
  "Contributors": [
    {
      "AttributeExtensions": {},
      "ElementExtensions": [],
      "email": "lene@contoso.com",
      "name": "Lene Aaling",
      "uri": "http://lene/aaling"
    }
  ],
  "copyright": "Copyright 2007",
  "description": "This is a sample feed",
  "ElementExtensions": [
    {
      "tag": "content:encoded",
      "attributes": {},
      "content": "Some Custom Element Content"
    }
  ],
  "generator": "Sample Code",
  "id": "http://feed/Link",
  "ImageUrl": {
    "url": "http://server/image.jpg",
    "title": "Feed Title",
    "link": "http://feed/Link"
  },
  "Items": [
    {
      "AttributeExtensions": {},
      "Authors": [],
      "Categories": [],
      "content": "Some text content",
      "Contributors": [],
      "copyright": null,
      "ElementExtensions": [],
      "id": "http://server/items",
      "lastUpdatedTime": "2017-12-14T04:28:48Z",
      "Links": [],
      "publishDate": null,
      "SourceFeed": null,
      "summary": null,
      "title": "Item Title"
    }
  ],
  "language": "en-us",
  "lastUpdatedTime": "2017-12-14T04:28:48Z",
  "Links": [
    {
      "AttributeExtensions": {},
      "ElementExtensions": [],
      "length": null,
      "mediaType": "text/html",
      "relationshipType": "alternate",
      "title": "Link Title",
      "uri": "http://server/link"
    }
  ],
  "title": "Feed Title"
}


Reading Foreign Data Source
---------------------------
{
  "AttributeExtensions": {},
  "Authors": [],
  "Categories": [],
  "Contributors": [],
  "copyright": null,
  "description": "Zendlab - Death and Rebirth Feed",
  "ElementExtensions": [
    {
      "tag": "feedburner:info",
      "attributes": {
        "uri": "zendlab"
      },
      "content": ""
    }
  ],
  "generator": "Symphony (build 1701)",
  "id": "http://feeds.feedburner.com/zendlab?format=xml",
  "ImageUrl": null,
  "Items": [
    {
      "AttributeExtensions": {},
      "Authors": [],
      "Categories": [],
      "content": null,
      "Contributors": [],
      "copyright": null,
      "ElementExtensions": [
        {
          "tag": "feedburner:origLink",
          "attributes": {},
          "content": "http://zend.lojcomm.com.br/entries/howto-compact-vdi/"
        }
      ],
      "id": "http://zend.lojcomm.com.br/entries/howto-compact-vdi/",
      "lastUpdatedTime": null,
      "Links": [
        {
          "AttributeExtensions": {},
          "ElementExtensions": [],
          "length": null,
          "mediaType": "text/html",
          "relationshipType": "alternate",
          "title": "HOWTO: Compact vdi",
          "uri": "http://feedproxy.google.com/~r/zendlab/~3/xIJKi1t91-4/"
        }
      ],
      "publishDate": "2016-03-10T17:53:00Z",
      "SourceFeed": null,
      "summary": "<p>$ <code>vboxmanage modifyhd --compact <disk file>.vdi</code></p><img src=\"http://feeds.feedburner.com/~r/zendlab/~4/xIJKi1t91-4\" height=\"1\" width=\"1\" alt=\"\"/>",
      "title": "HOWTO: Compact vdi"
    },
    {
      "AttributeExtensions": {},
      "Authors": [],
      "Categories": [],
      "content": null,
      "Contributors": [],
      "copyright": null,
      "ElementExtensions": [
        {
          "tag": "feedburner:origLink",
          "attributes": {},
          "content": "http://zend.lojcomm.com.br/entries/howto-reconfigure-virtualbox-hard-disk-uuid/"
        }
      ],
      "id": "http://zend.lojcomm.com.br/entries/howto-reconfigure-virtualbox-hard-disk-uuid/",
      "lastUpdatedTime": null,
      "Links": [
        {
          "AttributeExtensions": {},
          "ElementExtensions": [],
          "length": null,
          "mediaType": "text/html",
          "relationshipType": "alternate",
          "title": "HOWTO: Reconfigure Virtualbox Hard Disk UUID",
          "uri": "http://feedproxy.google.com/~r/zendlab/~3/XFATNhYkvPI/"
        }
      ],
      "publishDate": "2014-02-16T02:05:12Z",
      "SourceFeed": null,
      "summary": "<p>Easy fix for \"Cannot register the hard disk <code>vdi_path</code> with UUID <code>{vdi_uuid}</code> because a hard disk <code>vdi_path</code> with UUID <code>{vdi_uuid}</code> already exists in the media registry ('<code>registry</code>').\"</p>\n\n<p><code>$ VBoxManage internalcommands sethduuid vdi_path</code></p><img src=\"http://feeds.feedburner.com/~r/zendlab/~4/XFATNhYkvPI\" height=\"1\" width=\"1\" alt=\"\"/>",
      "title": "HOWTO: Reconfigure Virtualbox Hard Disk UUID"
    },
    {
      "AttributeExtensions": {},
      "Authors": [],
      "Categories": [],
      "content": null,
      "Contributors": [],
      "copyright": null,
      "ElementExtensions": [
        {
          "tag": "feedburner:origLink",
          "attributes": {},
          "content": "http://zend.lojcomm.com.br/entries/howto-install-php-with-imagick-support-in-centos/"
        }
      ],
      "id": "http://zend.lojcomm.com.br/entries/howto-install-php-with-imagick-support-in-centos/",
      "lastUpdatedTime": null,
      "Links": [
        {
          "AttributeExtensions": {},
          "ElementExtensions": [],
          "length": null,
          "mediaType": "text/html",
          "relationshipType": "alternate",
          "title": "HOWTO: Install php with imagick support in CentOS 6",
          "uri": "http://feedproxy.google.com/~r/zendlab/~3/cXoR-GWkyH0/"
        }
      ],
      "publishDate": "2013-06-11T13:59:00Z",
      "SourceFeed": null,
      "summary": "<p>HOWTO: Install php with imagick support in CentOS 6</p>\n\n<p>Just copy and paste:</p>\n\n<pre><code>$ yum install make\n$ yum install gcc\n$ yum install php php-fpm php-devel php-pear\n$ yum install ImageMagick ImageMagick-devel\n$ pecl install imagick\n$ echo \"extension=imagick.so\" > /etc/php.d/imagick.ini\n</code></pre>\n\n<p>Now, restart the web server.</p>\n\n<p>That's it! Hope it helps you.</p><img src=\"http://feeds.feedburner.com/~r/zendlab/~4/cXoR-GWkyH0\" height=\"1\" width=\"1\" alt=\"\"/>",
      "title": "HOWTO: Install php with imagick support in CentOS 6"
    },
    {
      "AttributeExtensions": {},
      "Authors": [],
      "Categories": [],
      "content": null,
      "Contributors": [],
      "copyright": null,
      "ElementExtensions": [
        {
          "tag": "feedburner:origLink",
          "attributes": {},
          "content": "http://zend.lojcomm.com.br/entries/howto-configure-network-of-a-cloned-centos-box/"
        }
      ],
      "id": "http://zend.lojcomm.com.br/entries/howto-configure-network-of-a-cloned-centos-box/",
      "lastUpdatedTime": null,
      "Links": [
        {
          "AttributeExtensions": {},
          "ElementExtensions": [],
          "length": null,
          "mediaType": "text/html",
          "relationshipType": "alternate",
          "title": "HOWTO: Configure network of a cloned CentOS box",
          "uri": "http://feedproxy.google.com/~r/zendlab/~3/ZqICRst2JkY/"
        }
      ],
      "publishDate": "2013-05-22T17:59:00Z",
      "SourceFeed": null,
      "summary": "<ol>\n<li>Remove the kernel’s networking interface rules file so that it can be regenerated <code>$ rm -f /etc/udev/rules.d/70-persistent-net.rules</code></li>\n<li>Restart <code>$ reboot</code></li>\n<li>Update HWADDR and Remove UUID <code>$ vi /etc/sysconfig/network-scripts/ifcfg-eth0</code></li>\n<li>Update GATEWAY <code>$ vi /etc/sysconfig/network</code></li>\n<li>Check firewall rules <code>$ vi /etc/sysconfig/iptables</code></li>\n</ol><img src=\"http://feeds.feedburner.com/~r/zendlab/~4/ZqICRst2JkY\" height=\"1\" width=\"1\" alt=\"\"/>",
      "title": "HOWTO: Configure network of a cloned CentOS box"
    },
    {
      "AttributeExtensions": {},
      "Authors": [],
      "Categories": [],
      "content": null,
      "Contributors": [],
      "copyright": null,
      "ElementExtensions": [
        {
          "tag": "feedburner:origLink",
          "attributes": {},
          "content": "http://zend.lojcomm.com.br/entries/howto-install-virtualbox-guest-additions-in-a-cen/"
        }
      ],
      "id": "http://zend.lojcomm.com.br/entries/howto-install-virtualbox-guest-additions-in-a-cen/",
      "lastUpdatedTime": null,
      "Links": [
        {
          "AttributeExtensions": {},
          "ElementExtensions": [],
          "length": null,
          "mediaType": "text/html",
          "relationshipType": "alternate",
          "title": "HOWTO: Install Virtualbox Guest Additions in a CentOS box",
          "uri": "http://feedproxy.google.com/~r/zendlab/~3/QCwXhXCu5tA/"
        }
      ],
      "publishDate": "2013-05-22T17:59:00Z",
      "SourceFeed": null,
      "summary": "<ol>\n<li>Install DKMS <code>$ yum install dkms</code></li>\n<li>Install \"Development Tools\" <code>$ yum groupinstall \"Development Tools\"</code></li>\n<li>Install Development Kernels <code>$ yum install kernel-devel</code> and <code>$ yum install kernel-devel-2.6.32-358.el6.x86_64</code></li>\n<li>Mount CD <code>$ mkdir /media/cdrom</code> and <code>$ mount /dev/cdrom /media/cdrom</code></li>\n<li>Execute VBoxLinuxAdditions <code>$ ./media/cdrom/VBoxLinuxAdditions.run</code></li>\n</ol><img src=\"http://feeds.feedburner.com/~r/zendlab/~4/QCwXhXCu5tA\" height=\"1\" width=\"1\" alt=\"\"/>",
      "title": "HOWTO: Install Virtualbox Guest Additions in a CentOS box"
    },
    {
      "AttributeExtensions": {},
      "Authors": [],
      "Categories": [],
      "content": null,
      "Contributors": [],
      "copyright": null,
      "ElementExtensions": [
        {
          "tag": "feedburner:origLink",
          "attributes": {},
          "content": "http://zend.lojcomm.com.br/entries/howto-install-activex-scripting-support-in-active/"
        }
      ],
      "id": "http://zend.lojcomm.com.br/entries/howto-install-activex-scripting-support-in-active/",
      "lastUpdatedTime": null,
      "Links": [
        {
          "AttributeExtensions": {},
          "ElementExtensions": [],
          "length": null,
          "mediaType": "text/html",
          "relationshipType": "alternate",
          "title": "HOWTO: Install ActiveX Scripting Support in ActiveState Python",
          "uri": "http://feedproxy.google.com/~r/zendlab/~3/-bEqgiSwfQg/"
        }
      ],
      "publishDate": "2013-05-20T18:42:00Z",
      "SourceFeed": null,
      "summary": "<p>In order to save me time in the future trying to figure out how to install ActiveX Scripting Support in ActiveState Python, here's a little reminder.</p>\n\n<ol>\n<li>Download Microsoft Visual C++ 2008 SP1 Redistributable Package <a href=\"http://www.microsoft.com/en-us/download/details.aspx?id=5582\">http://www.microsoft.com/en-us/download/details.aspx?id=5582</a>.</li>\n<li>Download ActiveState Python <a href=\"http://www.activestate.com/activepython\">http://www.activestate.com/activepython</a>.</li>\n<li>Download Python for Windows Extensions <a href=\"http://sourceforge.net/projects/pywin32/files/pywin32/Build%20218/\">http://sourceforge.net/projects/pywin32/files/pywin32/Build%20218/</a>.</li>\n<li>Install everything in the same order.</li>\n<li>Execute <code>C:\\Python27\\Lib\\site-packages\\win32comext\\axscript\\client\\pyscript.py</code></li>\n</ol>\n\n<p>That's it! Enjoy!</p><img src=\"http://feeds.feedburner.com/~r/zendlab/~4/-bEqgiSwfQg\" height=\"1\" width=\"1\" alt=\"\"/>",
      "title": "HOWTO: Install ActiveX Scripting Support in ActiveState Python"
    },
    {
      "AttributeExtensions": {},
      "Authors": [],
      "Categories": [],
      "content": null,
      "Contributors": [],
      "copyright": null,
      "ElementExtensions": [
        {
          "tag": "feedburner:origLink",
          "attributes": {},
          "content": "http://zend.lojcomm.com.br/entries/howto-mount-windows-share-in-linux/"
        }
      ],
      "id": "http://zend.lojcomm.com.br/entries/howto-mount-windows-share-in-linux/",
      "lastUpdatedTime": null,
      "Links": [
        {
          "AttributeExtensions": {},
          "ElementExtensions": [],
          "length": null,
          "mediaType": "text/html",
          "relationshipType": "alternate",
          "title": "HOWTO: Mount Windows Share in Linux",
          "uri": "http://feedproxy.google.com/~r/zendlab/~3/_n3oTbiShGM/"
        }
      ],
      "publishDate": "2011-11-11T06:56:00Z",
      "SourceFeed": null,
      "summary": "<ol>\n<li>Install <code>samba</code> and <code>smbfs</code></li>\n<li>Make folder <code>/mnt/share</code></li>\n<li>Make file <code>/etc/cifspw</code> and fill it with <code>username=</code> and <code>password=</code></li>\n<li><code>$ sudo chmod 600 /etc/cifspw</code></li>\n<li>Edit <code>/etc/fstab</code>: <code>//ip/share /mnt/share cifs exec,credentials=/etc/cifspw 0 0</code></li>\n<li><code>$ sudo mount -a</code></li>\n</ol><img src=\"http://feeds.feedburner.com/~r/zendlab/~4/_n3oTbiShGM\" height=\"1\" width=\"1\" alt=\"\"/>",
      "title": "HOWTO: Mount Windows Share in Linux"
    },
    {
      "AttributeExtensions": {},
      "Authors": [],
      "Categories": [],
      "content": null,
      "Contributors": [],
      "copyright": null,
      "ElementExtensions": [
        {
          "tag": "feedburner:origLink",
          "attributes": {},
          "content": "http://zend.lojcomm.com.br/entries/howto-restore-grub-after-installing-windows/"
        }
      ],
      "id": "http://zend.lojcomm.com.br/entries/howto-restore-grub-after-installing-windows/",
      "lastUpdatedTime": null,
      "Links": [
        {
          "AttributeExtensions": {},
          "ElementExtensions": [],
          "length": null,
          "mediaType": "text/html",
          "relationshipType": "alternate",
          "title": "HOWTO: Restore GRUB after installing windows",
          "uri": "http://feedproxy.google.com/~r/zendlab/~3/99nHSb-mD6I/"
        }
      ],
      "publishDate": "2011-05-10T19:14:28Z",
      "SourceFeed": null,
      "summary": "<p>Yesterday my notebook (which came with Windows 7) simply went to a boot loop unless I change to OS to Linux o_O. Since reinstalling Windows 7 messes the whole MBR, a GRUB restore is required to get the multiboot back to work. These are the steps to get it working again:</p>\n\n<ol>\n<li>Boot with a LiveCD and in places, click the original grub partition get it mounted.</li>\n<li>Open the terminal.</li>\n<li>Verify if it's the right partition <code>$ mount | tail -1</code>. Something like <code>/dev/sda5 on /media/0d104aff-ec8c-44c8-b811-92b993823444 type ext4 (rw,nosuid,nodev,uhelper=devkit)</code> will be returned.</li>\n<li>To make sure this is indeed the Ubuntu boot partition, run <code>$ ls /media/0d104aff-ec8c-44c8-b811-92b993823444/boot</code></li>\n<li>To restore the grub type <code>$ sudo grub-install --root-directory=/media/0d104aff-ec8c-44c8-b811-92b993823444 /dev/sda --recheck</code></li>\n<li>Reboot and enjoy!</li>\n</ol><img src=\"http://feeds.feedburner.com/~r/zendlab/~4/99nHSb-mD6I\" height=\"1\" width=\"1\" alt=\"\"/>",
      "title": "HOWTO: Restore GRUB after installing windows"
    },
    {
      "AttributeExtensions": {},
      "Authors": [],
      "Categories": [],
      "content": null,
      "Contributors": [],
      "copyright": null,
      "ElementExtensions": [
        {
          "tag": "feedburner:origLink",
          "attributes": {},
          "content": "http://zend.lojcomm.com.br/entries/howto-remove-a-parsers-from-ctags/"
        }
      ],
      "id": "http://zend.lojcomm.com.br/entries/howto-remove-a-parsers-from-ctags/",
      "lastUpdatedTime": null,
      "Links": [
        {
          "AttributeExtensions": {},
          "ElementExtensions": [],
          "length": null,
          "mediaType": "text/html",
          "relationshipType": "alternate",
          "title": "HOWTO: Remove a parsers from ctags",
          "uri": "http://feedproxy.google.com/~r/zendlab/~3/xDAXtDKUEAw/"
        }
      ],
      "publishDate": "2011-03-31T21:20:21Z",
      "SourceFeed": null,
      "summary": "<p>Sometimes it's useful to remove a language parser from the ctags binary. Specially if you are extending it via ctags.conf file. You will need to remove the language bindings at <code>parsers.h</code> (one line here) and <code>source.mak</code> (two lines here), then just recompile the code to get the parsers away.</p><img src=\"http://feeds.feedburner.com/~r/zendlab/~4/xDAXtDKUEAw\" height=\"1\" width=\"1\" alt=\"\"/>",
      "title": "HOWTO: Remove a parsers from ctags"
    },
    {
      "AttributeExtensions": {},
      "Authors": [],
      "Categories": [],
      "content": null,
      "Contributors": [],
      "copyright": null,
      "ElementExtensions": [
        {
          "tag": "feedburner:origLink",
          "attributes": {},
          "content": "http://zend.lojcomm.com.br/entries/howto-recover-iusr-and-iwan/"
        }
      ],
      "id": "http://zend.lojcomm.com.br/entries/howto-recover-iusr-and-iwan/",
      "lastUpdatedTime": null,
      "Links": [
        {
          "AttributeExtensions": {},
          "ElementExtensions": [],
          "length": null,
          "mediaType": "text/html",
          "relationshipType": "alternate",
          "title": "HOWTO: Recover IUSR and IWAN",
          "uri": "http://feedproxy.google.com/~r/zendlab/~3/Iu0v91poJDo/"
        }
      ],
      "publishDate": "2011-03-25T15:53:00Z",
      "SourceFeed": null,
      "summary": "<p>Today I faced a very interesting problem: How to set back a site, in Windows 2003, to anonymous access once its password has been accidentally changed in the Directory Security?</p>\n\n<p>Besides the very intriguing fact of \"How could someone do that?!\", it's equally fascinating that just clicking \"Enable anonymous access\" and leaving the password field empty won't bring your site back. Neither using \"guest\" nor \"anonymous\".</p>\n\n<p>What's going on here is that some Windows account passwords are set automatically and are never known. Once you have them out of sync you have a  \"Oh, man!\" kind of big problem since your customer is calling all the time asking: \"Why my password is asking for user and password?! WHY WHY WHY?!\".</p>\n\n<p>Fixing this is easy but a little tricky. Here are the steps:</p>\n\n<p>1 -- Open <code>C:InetpubAdminScriptsadsutil.vbs</code> and search for the function <code>IsSecureProperty</code>. It should be something like:</p>\n\n<div class=\"code\"><span class=\"kw2\">Function</span> IsSecureProperty<span class=\"br0\">(</span>ObjectParameter,MachineName<span class=\"br0\">)</span><br />\n<br />\n    <span class=\"kw1\">On</span> <span class=\"kw1\">Error</span> <span class=\"kw1\">Resume</span> <span class=\"kw1\">Next</span><br />\n    <span class=\"kw1\">Dim</span> PropObj,Attribute<br />\n    <span class=\"kw1\">Set</span> PropObj <span class=\"sy0\">=</span> GetObject<span class=\"br0\">(</span><span class=\"st0\">\"IIS://\"</span> <span class=\"sy0\">&</span> MachineName <span class=\"sy0\">&</span> <span class=\"st0\">\"/schema/\"</span> <span class=\"sy0\">&</span> ObjectParameter<span class=\"br0\">)</span><br />\n    <span class=\"kw1\">If</span> <span class=\"br0\">(</span>Err.<span class=\"me1\">Number</span> <span class=\"sy0\"><></span> <span class=\"nu0\">0</span><span class=\"br0\">)</span> <span class=\"kw1\">Then</span><br />\n        ReportError <span class=\"br0\">(</span><span class=\"br0\">)</span><br />\n        WScript.<span class=\"me1\">Echo</span> <span class=\"st0\">\"Error trying to get the property: \"</span> <span class=\"sy0\">&</span> err.<span class=\"me1\">number</span><br />\n        WScript.<span class=\"me1\">Quit</span> <span class=\"br0\">(</span>Err.<span class=\"me1\">Number</span><span class=\"br0\">)</span><br />\n    <span class=\"kw1\">End</span> <span class=\"kw1\">If</span><br />\n    Attribute <span class=\"sy0\">=</span> PropObj.<span class=\"me1\">Secure</span><br />\n    <span class=\"kw1\">If</span> <span class=\"br0\">(</span>Attribute <span class=\"sy0\">=</span> <span class=\"kw2\">True</span><span class=\"br0\">)</span> <span class=\"kw1\">Then</span><br />\n        IsSecureProperty <span class=\"sy0\">=</span> <span class=\"kw2\">True</span><br />\n    <span class=\"kw1\">Else</span><br />\n        IsSecureProperty <span class=\"sy0\">=</span> <span class=\"kw2\">False</span><br />\n    <span class=\"kw1\">End</span> <span class=\"kw1\">If</span><br />\n<br />\n<span class=\"kw1\">End</span> <span class=\"kw2\">Function</span></div>\n\n<p>2 -- Edit it <strong>TEMPORARILY</strong> to always return <code>false</code>:</p>\n\n<div class=\"code\"><span class=\"kw2\">Function</span> IsSecureProperty<span class=\"br0\">(</span>ObjectParameter,MachineName<span class=\"br0\">)</span><br />\n<br />\n    <span class=\"co1\">' On Error Resume Next</span><br />\n    <span class=\"co1\">' Dim PropObj,Attribute</span><br />\n    <span class=\"co1\">' Set PropObj = GetObject(\"IIS://\" & MachineName & \"/schema/\" & ObjectParameter)</span><br />\n    <span class=\"co1\">' If (Err.Number <> 0) Then</span><br />\n        <span class=\"co1\">' ReportError ()</span><br />\n        <span class=\"co1\">' WScript.Echo \"Error trying to get the property: \" & err.number</span><br />\n        <span class=\"co1\">' WScript.Quit (Err.Number)</span><br />\n    <span class=\"co1\">' End If</span><br />\n    <span class=\"co1\">' Attribute = PropObj.Secure</span><br />\n    <span class=\"co1\">' If (Attribute = True) Then</span><br />\n        <span class=\"co1\">' IsSecureProperty = True</span><br />\n    <span class=\"co1\">' Else</span><br />\n        <span class=\"co1\">' IsSecureProperty = False</span><br />\n    <span class=\"co1\">' End If</span><br />\n    IsSecureProperty <span class=\"sy0\">=</span> <span class=\"kw2\">False</span><br />\n<br />\n<span class=\"kw1\">End</span> <span class=\"kw2\">Function</span></div>\n\n<p>3 -- Now your are ready to retrieve the built-in anonymous password by using the following command:</p>\n\n<div class=\"code\">cscript adsutil.<span class=\"me1\">vbs</span> <span class=\"kw1\">get</span> w3svc<span class=\"sy0\">/</span>anonymoususerpass</div>\n\n<p>4 -- or the IWAN password by using:</p>\n\n<div class=\"code\">cscript adsutil.<span class=\"me1\">vbs</span> <span class=\"kw1\">get</span> w3svc<span class=\"sy0\">/</span>wamuserpass</div>\n\n<p>5 -- <strong>Remove the adsutil.vbs modifications</strong> and set the password in the Directory Security.</p>\n\n<blockquote>\n  <p><strong>Note</strong>: If instead of using get to retrieve the built-in password, you think it's better to set a new password, you may use the <code>set</code> command and after that you should run <code>cscript synciwam.vbs -v</code> to sync up the new password in all the services.</p>\n</blockquote>\n\n<p>That's it! And... yeah, the blog is not dead xD</p><img src=\"http://feeds.feedburner.com/~r/zendlab/~4/Iu0v91poJDo\" height=\"1\" width=\"1\" alt=\"\"/>",
      "title": "HOWTO: Recover IUSR and IWAN"
    }
  ],
  "language": "en-us",
  "lastUpdatedTime": null,
  "Links": [
    {
      "AttributeExtensions": {
        "xmlns:atom": "http://www.w3.org/2005/Atom",
        "rel": "self",
        "type": "application/rss+xml",
        "href": "http://feeds.feedburner.com/zendlab"
      },
      "ElementExtensions": [],
      "length": null,
      "mediaType": "application/rss+xml",
      "relationshipType": "self",
      "title": null,
      "uri": "http://feeds.feedburner.com/zendlab"
    },
    {
      "AttributeExtensions": {
        "xmlns:atom": "http://www.w3.org/2005/Atom",
        "rel": "hub",
        "href": "http://pubsubhubbub.appspot.com/"
      },
      "ElementExtensions": [],
      "length": null,
      "mediaType": null,
      "relationshipType": "hub",
      "title": null,
      "uri": "http://pubsubhubbub.appspot.com/"
    }
  ],
  "title": "Zendlab - Death and Rebirth"
}

Sources

/axe-ut/feed.unit.test.asp

<!--#include virtual="/lib/unit-tests.asp"-->
<!--#include virtual="/lib/axe/classes/interface.asp"-->
<!--#include virtual="/lib/axe/classes/Parsers/json2.asp"-->
<!--#include virtual="/lib/axe/classes/Utilities/stringbuilder.asp"-->
<!--#include virtual="/lib/axe/classes/Utilities/feed.asp"-->
<!--#include virtual="/lib/axe/classes/Utilities/Feed/interface.asp"-->
<!--#include virtual="/lib/axe/classes/Utilities/Feed/Adapters/rss2.asp"-->
<!--#include virtual="/lib/axe/classes/Utilities/Feed/Adapters/atom.asp"-->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xml:lang="en">
	<head>
		<title>AXE - Unit Test - Feed</title>
		<!--// meta tags //-->
		<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
		<!--// link tags //-->
		<link rel="stylesheet" type="text/css" media="screen" href="/lib/unit-tests.css" />
	</head>
	<body>
		<div id="container">
			<div id="container-hd">
				<h1>UnitTest( feed.asp )</h1>
			</div>
			<div id="container-bd">
 
<h2>Output</h2>
<div class="code"><pre><%
 
' test based on the example at <https://msdn.microsoft.com/en-us/library/system.servicemodel.syndication.syndicationfeed(v=vs.110).aspx?cs-save-lang=1&cs-lang=csharp#Examples>
with (new Feed)("Feed Title", "Feed Description", "http://feed/Link", dateToIso8601Z(nowZ()))
	.AttributeExtensions.set "xmlns:content", "http://purl.org/rss/1.0/modules/content/"
	.Authors.push ( ( (new Feed_Person)("jesper@contoso.com", "Jesper Aaberg", "http://Jesper/Aaberg") ).state )
	.Categories.push ( ( (new Feed_Category)("FeedCategory", "http://domain.com/CategoryScheme", "CategoryLabel") ).state )
	.Contributors.push ( ( (new Feed_Person)("lene@contoso.com", "Lene Aaling", "http://lene/aaling") ).state )
	.copyright = "Copyright 2007"
	.description = "This is a sample feed"
	.ElementExtensions.push .createElement("content:encoded", JSON.parse("{}"), "Some Custom Element Content")
	.generator = "Sample Code"
	set .ImageUrl = .createImageUrl("http://server/image.jpg", "Feed Title", "http://feed/Link")
 
	.Items.push ( ( (new Feed_Item)("Item Title", "Some text content", "http://server/items", dateToIso8601Z(nowZ())) ).state )
 
	.language = "en-us"
	.lastUpdatedTime = dateToIso8601Z(nowZ())
	.Links.push ( ( (new Feed_Link)("http://server/link", "text/html", "alternate", "Link Title") ).state )
 
	set .Adapter = new Feed_Adapter_Atom
	Response.write "Example as Atom" & vbNewline
	Response.write "---------------" & vbNewline
	Response.write print_code( "<?xml version='1.0' encoding='UTF-8'?>" ) & vbNewline
	Response.write print_code( indentXML( .write() ) ) & vbNewline
 
	Response.write vbNewline
	Response.write vbNewline
 
	set .Adapter = new Feed_Adapter_RSS2
	Response.write "Example as RSS2" & vbNewline
	Response.write "---------------" & vbNewline
	Response.write print_code( "<?xml version='1.0' encoding='UTF-8'?>" ) & vbNewline
	Response.write print_code( indentXML( .write() ) ) & vbNewline
	Response.write vbNewline
 
	Response.write vbNewline
	Response.write vbNewline
 
	Response.write "Serializing State" & vbNewline
	Response.write "-----------------" & vbNewline
	Response.write print_code( JSON.stringify( .state, null, 2 ) )
	Response.write vbNewline
 
	set .Adapter = nothing
end with
 
with (new Feed)
	set .Adapter = new Feed_Adapter_RSS2
	.read "http://feeds.feedburner.com/zendlab?format=xml"
 
	Response.write vbNewline
	Response.write vbNewline
 
	Response.write "Reading Foreign Data Source" & vbNewline
	Response.write "---------------------------" & vbNewline
	Response.write print_code( JSON.stringify( .state, null, 2 ) )
	Response.write vbNewline
 
	set .Adapter = nothing
end with
 
 
 
 
 
function print_code(byVal code)
	print_code = replace( code, "<", "&lt;" )
end function
 
%></pre></div>
 
			</div>
			<div id="container-ft">
				<h2>Sources</h2>
				<h3><%= Request.ServerVariables("SCRIPT_NAME") %></h3>
				<div class="code"><%= geshify( loadTextFile( Server.mapPath( Request.ServerVariables("SCRIPT_NAME") ) ), "asp" ) %></div>
			</div>
		</div>
		<!--// javascript tags //-->
	</body>
</html>