<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
<title>Snipplr</title>
<link>http://snipplr.com/language/xml</link>
<description>Recent snippets posted on Snipplr.com</description>
<language>en-us</language>
<pubDate>Wed, 19 Jun 2013 23:22:17 GMT</pubDate>
<item>
<title>(XML) Make ActiveMQ Discoverable - (for Version 5.8) - laurenceosx</title>
<link>http://snipplr.com/view/71577/make-activemq-discoverable--for-version-58/</link>
<description><![CDATA[ <p>see  http://activemq.apache.org/discovery-transport-reference.html</p> ]]></description>
<pubDate>Wed, 19 Jun 2013 21:43:56 GMT</pubDate>
<guid>http://snipplr.com/view/71577/make-activemq-discoverable--for-version-58/</guid>
</item>
<item>
<title>(XML) ChatHead UserControl - asim1985</title>
<link>http://snipplr.com/view/71407/chathead-usercontrol/</link>
<description><![CDATA[ <p>XAML layout for my chat head user control</p> ]]></description>
<pubDate>Wed, 05 Jun 2013 20:32:04 GMT</pubDate>
<guid>http://snipplr.com/view/71407/chathead-usercontrol/</guid>
</item>
<item>
<title>(XML) web.xml for run HSQLDB in Servlet mode - alces</title>
<link>http://snipplr.com/view/69980/webxml-for-run-hsqldb-in-servlet-mode/</link>
<description><![CDATA[ <p>place hsqldb.jar in &amp;lt;servletDir&amp;gt;/WEB-INF/lib,
make file &amp;lt;servletDir&amp;gt;/WEB-INF/web.xml with following content
&amp; your DB will reachable via URL:
http://&amp;lt;tomcatHost&amp;gt;:&amp;lt;tomcatPort&amp;gt;/&amp;lt;servletDir&amp;gt;</p> ]]></description>
<pubDate>Mon, 18 Feb 2013 17:51:45 GMT</pubDate>
<guid>http://snipplr.com/view/69980/webxml-for-run-hsqldb-in-servlet-mode/</guid>
</item>
<item>
<title>(XML) Compile version - chinyeh</title>
<link>http://snipplr.com/view/69262/compile-version/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Wed, 26 Dec 2012 16:27:35 GMT</pubDate>
<guid>http://snipplr.com/view/69262/compile-version/</guid>
</item>
<item>
<title>(XML) Button style - ximiboy</title>
<link>http://snipplr.com/view/67942/button-style/</link>
<description><![CDATA[ <p>Style button</p> ]]></description>
<pubDate>Thu, 25 Oct 2012 21:25:20 GMT</pubDate>
<guid>http://snipplr.com/view/67942/button-style/</guid>
</item>
<item>
<title>(XML) color.xml - ximiboy</title>
<link>http://snipplr.com/view/67941/colorxml/</link>
<description><![CDATA[ <p>Fichero color.xml</p> ]]></description>
<pubDate>Thu, 25 Oct 2012 21:02:22 GMT</pubDate>
<guid>http://snipplr.com/view/67941/colorxml/</guid>
</item>
<item>
<title>(XML) Mad Current Event Update for Joomla vs 2.5.6 - mrjohnmain</title>
<link>http://snipplr.com/view/67057/mad-current-event-update-for-joomla-vs-256/</link>
<description><![CDATA[ <p>I've updated Mad Current Event to work with Joomla vs 2.5.6.
Just replace the contents of mod_madcurrentevent.xml with the following code.</p> ]]></description>
<pubDate>Wed, 05 Sep 2012 18:35:27 GMT</pubDate>
<guid>http://snipplr.com/view/67057/mad-current-event-update-for-joomla-vs-256/</guid>
</item>
<item>
<title>(XML) default part of catalog.xml. not working - xaddict</title>
<link>http://snipplr.com/view/66920/default-part-of-catalogxml-not-working/</link>
<description><![CDATA[ <p>The non-working part of catalog.xml</p> ]]></description>
<pubDate>Mon, 27 Aug 2012 22:21:58 GMT</pubDate>
<guid>http://snipplr.com/view/66920/default-part-of-catalogxml-not-working/</guid>
</item>
<item>
<title>(XML) part of page.xml. not working - xaddict</title>
<link>http://snipplr.com/view/66919/part-of-pagexml-not-working/</link>
<description><![CDATA[ <p>Please comment or see the stackoverflow question to improve this.</p> ]]></description>
<pubDate>Mon, 27 Aug 2012 22:19:35 GMT</pubDate>
<guid>http://snipplr.com/view/66919/part-of-pagexml-not-working/</guid>
</item>
<item>
<title>(XML) web.config to avoid 'Sys' is undefined error - ptomas</title>
<link>http://snipplr.com/view/66816/webconfig-to-avoid-sys-is-undefined-error/</link>
<description><![CDATA[ <p>You get "'Sys' is undefined" error in web application. The application works perfectly when run locally. It throws the JavaScript error when run in production. A handler is necessary in web.config to solve this problem. "ScriptResource" is added to the config file.</p> ]]></description>
<pubDate>Mon, 20 Aug 2012 21:24:17 GMT</pubDate>
<guid>http://snipplr.com/view/66816/webconfig-to-avoid-sys-is-undefined-error/</guid>
</item>
<item>
<title>(XML) Enable EclipseLink Monitoring - hackykaries</title>
<link>http://snipplr.com/view/66744/enable-eclipselink-monitoring/</link>
<description><![CDATA[ <p>add the following property in the persistence.xml</p> ]]></description>
<pubDate>Wed, 15 Aug 2012 22:29:08 GMT</pubDate>
<guid>http://snipplr.com/view/66744/enable-eclipselink-monitoring/</guid>
</item>
<item>
<title>(XML) Plist-tmplt - ianthekirkland</title>
<link>http://snipplr.com/view/64814/plisttmplt/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Tue, 08 May 2012 16:04:15 GMT</pubDate>
<guid>http://snipplr.com/view/64814/plisttmplt/</guid>
</item>
<item>
<title>(XML) Tattletale - Multiple Jars - kamilch</title>
<link>http://snipplr.com/view/64613/tattletale--multiple-jars/</link>
<description><![CDATA[ <p>Check duplicated classes in multiple jars</p> ]]></description>
<pubDate>Mon, 16 Apr 2012 18:31:52 GMT</pubDate>
<guid>http://snipplr.com/view/64613/tattletale--multiple-jars/</guid>
</item>
<item>
<title>(XML) DataTrigger RenderTransform - cedrelo</title>
<link>http://snipplr.com/view/64368/datatrigger-rendertransform/</link>
<description><![CDATA[ <p>DataTrigger RenderTransform</p> ]]></description>
<pubDate>Thu, 05 Apr 2012 22:40:58 GMT</pubDate>
<guid>http://snipplr.com/view/64368/datatrigger-rendertransform/</guid>
</item>
<item>
<title>(XML) WordPress API Code Hints (Auto Completion) for Adobe Dreamweaver - mindshare</title>
<link>http://snipplr.com/view/63551/wordpress-api-code-hints-auto-completion-for-adobe-dreamweaver/</link>
<description><![CDATA[ <p>This file provides code hinting (auto-completion) for the WordPress API in Dreamweaver's code view. There are currently 1422 functions and keywords from the WordPress API supported!

Grab the latest version from the repo: http://code.google.com/p/wordpress-codehints/</p> ]]></description>
<pubDate>Fri, 24 Feb 2012 05:40:49 GMT</pubDate>
<guid>http://snipplr.com/view/63551/wordpress-api-code-hints-auto-completion-for-adobe-dreamweaver/</guid>
</item>
<item>
<title>(XML) Setting up Sharepoint files as a visual studio .Net solution - rumremix</title>
<link>http://snipplr.com/view/63219/setting-up-sharepoint-files-as-a-visual-studio-net-solution/</link>
<description><![CDATA[ <p>Setting up a sp .net soln 

File --&amp;gt; New --&amp;gt; Project
on lefthand side -&amp;gt; Sharepoint -&amp;gt; 2010
usually select an empty template
name the project

to add files, create a module...
right-click project --&amp;gt; add --&amp;gt; new item
select "module"
give the module a name (such as masterpagecatalog)
this will create the module, containing an elements.xml file and open the elements.xml file in code editor. Sample.txt will also be created but may be deleted.

Drag any previously created files that will live in the new module into the module icon in solution explorer

Edit elements.xml.  (See example edits to elements.xml in code block further down.) 


Edits to make to default xml:

in &amp;lt;Module&amp;gt; tag, put a url (such as  Url="_catalogs/masterpage" ) and put  RootWebOnly="TRUE"

The &amp;lt;file&amp;gt; tag will also be created with a default url property. Make sure to edit this so that it is correct. By default, it will create a path starting with the name of the module. And if there is no such folder already with that name beneath the Module path, the feature will create one.  The actual path is designated by both the &amp;lt;module&amp;gt; url property and the &amp;lt;file&amp;gt; url property (that is, both of those properties are combined).

Add Type="GhostableInLibrary" IgnoreIfAlreadyExists="TRUE" to the &amp;lt;file&amp;gt; elements. IgnoreIfAlreadyExists="TRUE" means "overwrite existing file". Type="GhostableInLibrary" setting is used when a file is placed into a library. If a file is placed outside of a library, Type="Ghostable" would be used.

Change the &amp;lt;file&amp;gt; tags so that it is not self-closing.

Add some Property tags.Columns in the master page correspond to file object properties indicated in the module xml. Other file properties in the xml will also be added to the "property bag" that do not correspond to master page columns (see &amp;lt;property&amp;gt; tags above). 

First, it is good practice to always add
&amp;lt;Property Name="FeatureId" Value="$SharePoint.Feature.Id$" Type="string"/&amp;gt;

On compliation, Value="$SharePoint.Feature.Id$" will be replaced with guid of feature. 

For a master page, the following metadata will be added via the property tags

&amp;lt;Property Name="UIVersion" Value="4" /&amp;gt;  
&amp;lt;Property Name="ContentTypeId" Value="0x010105" /&amp;gt;
&amp;lt;Property Name="ContentType" Value="$Resources:cmscore,contenttype_masterpage_name;" /&amp;gt;
&amp;lt;Property Name="MasterPageDescription" Value="Masterpage for SepulvedaPOC sites." /&amp;gt; 


Make sure to edit the description as appropriate.

When the module was created, VS automatically created a feature called "Feature 1". Note that features may also be created by right-clicking "Features" in soln explorer and selecting "Add Feature".

Next step: add event reciever feature activated code if necessary

* Make sure to add the proper modules to the feature
* Make sure that Scope is set to "Site" in the feature if the solution is a sandbox solution</p> ]]></description>
<pubDate>Fri, 10 Feb 2012 04:50:30 GMT</pubDate>
<guid>http://snipplr.com/view/63219/setting-up-sharepoint-files-as-a-visual-studio-net-solution/</guid>
</item>
<item>
<title>(XML) Unset Categories from Layered Navigation in Magento - axertion</title>
<link>http://snipplr.com/view/62968/unset-categories-from-layered-navigation-in-magento/</link>
<description><![CDATA[ <p>update your catalog.xml in your app/design/default/THEMENAME/layout/catalog.xml with this XML definition to remove the category filters from the left-layered navigation in Magento.</p> ]]></description>
<pubDate>Wed, 01 Feb 2012 10:38:45 GMT</pubDate>
<guid>http://snipplr.com/view/62968/unset-categories-from-layered-navigation-in-magento/</guid>
</item>
<item>
<title>(XML) Using svg images into JasperReport - wnasich</title>
<link>http://snipplr.com/view/61860/using-svg-images-into-jasperreport/</link>
<description><![CDATA[ <p>Replace the normal  XML with the following code (be sure to adjust the width and height accordingly):</p> ]]></description>
<pubDate>Wed, 14 Dec 2011 02:34:40 GMT</pubDate>
<guid>http://snipplr.com/view/61860/using-svg-images-into-jasperreport/</guid>
</item>
<item>
<title>(XML) maven jetty plugin configuration to scan static sources (js,css,etc...) - sabanulutas</title>
<link>http://snipplr.com/view/60861/maven-jetty-plugin-configuration-to-scan-static-sources-jscssetc/</link>
<description><![CDATA[ <p>add following parts to the appropriate places in the pom.xml</p> ]]></description>
<pubDate>Tue, 15 Nov 2011 23:38:21 GMT</pubDate>
<guid>http://snipplr.com/view/60861/maven-jetty-plugin-configuration-to-scan-static-sources-jscssetc/</guid>
</item>
<item>
<title>(XML) .htaccess Wordpress - priyankvira</title>
<link>http://snipplr.com/view/59509/htaccess-wordpress/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Fri, 07 Oct 2011 01:27:53 GMT</pubDate>
<guid>http://snipplr.com/view/59509/htaccess-wordpress/</guid>
</item>
</channel>
</rss>