<?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>Mon, 13 Feb 2012 20:49:20 GMT</pubDate>
<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".</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) JScript XSLT Script Block - mazrabul</title>
<link>http://snipplr.com/view/62592/jscript-xslt-script-block/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Tue, 17 Jan 2012 08:33:04 GMT</pubDate>
<guid>http://snipplr.com/view/62592/jscript-xslt-script-block/</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>
<item>
<title>(XML) fdsfds - sraczka</title>
<link>http://snipplr.com/view/59078/fdsfds/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Mon, 26 Sep 2011 07:42:20 GMT</pubDate>
<guid>http://snipplr.com/view/59078/fdsfds/</guid>
</item>
<item>
<title>(XML) Spring - rahulshivsharan</title>
<link>http://snipplr.com/view/58743/spring/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Fri, 16 Sep 2011 20:01:02 GMT</pubDate>
<guid>http://snipplr.com/view/58743/spring/</guid>
</item>
<item>
<title>(XML) US States - sonofabit</title>
<link>http://snipplr.com/view/58694/us-states/</link>
<description><![CDATA[ <p>Because I needed it quick and no one had it, and God knows someday I'll need it again!</p> ]]></description>
<pubDate>Thu, 15 Sep 2011 08:57:32 GMT</pubDate>
<guid>http://snipplr.com/view/58694/us-states/</guid>
</item>
<item>
<title>(XML) Minimal Apache Ant build.xml - jerryvig</title>
<link>http://snipplr.com/view/58419/minimal-apache-ant-buildxml/</link>
<description><![CDATA[ <p>This is a minimal apache ant build.xml file that will quickly do all the things that you will generally want to do, including compiling and building a simple Java project to class files and jars. It provides targets to compile the class files and jars and to run the main class. The fields marked "My Project Name Here" and "My Main Class Here" are the fields that need to be modified for your project. To start create a directory for your project with subdirectories "lib" and "src" and place the build.xml file in the same directory. Place the Java sources in the "src" directory. Type "ant build" to compile and "ant run" to test and run the main class. 


build  build.xml  lib   src</p> ]]></description>
<pubDate>Sat, 03 Sep 2011 16:56:40 GMT</pubDate>
<guid>http://snipplr.com/view/58419/minimal-apache-ant-buildxml/</guid>
</item>
<item>
<title>(XML) Manifest file - Service tag - hmvrulz</title>
<link>http://snipplr.com/view/58174/manifest-file--service-tag/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Fri, 26 Aug 2011 03:56:05 GMT</pubDate>
<guid>http://snipplr.com/view/58174/manifest-file--service-tag/</guid>
</item>
<item>
<title>(XML) Manifest file - Application tag - hmvrulz</title>
<link>http://snipplr.com/view/58173/manifest-file--application-tag/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Fri, 26 Aug 2011 03:54:21 GMT</pubDate>
<guid>http://snipplr.com/view/58173/manifest-file--application-tag/</guid>
</item>
<item>
<title>(XML) Manifest file - Activity tag - hmvrulz</title>
<link>http://snipplr.com/view/58172/manifest-file--activity-tag/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Fri, 26 Aug 2011 03:52:26 GMT</pubDate>
<guid>http://snipplr.com/view/58172/manifest-file--activity-tag/</guid>
</item>
<item>
<title>(XML) Show hibernate logs in log4j - nialace</title>
<link>http://snipplr.com/view/58111/show-hibernate-logs-in-log4j/</link>
<description><![CDATA[ <p>Dans log4j.xml</p> ]]></description>
<pubDate>Wed, 24 Aug 2011 00:46:33 GMT</pubDate>
<guid>http://snipplr.com/view/58111/show-hibernate-logs-in-log4j/</guid>
</item>
<item>
<title>(XML) [ZAHIR] preroll inStream eyeblaster  s/MREC Caras+Activa+Expresso+Escape - anobre</title>
<link>http://snipplr.com/view/58093/zahir-preroll-instream-eyeblaster--smrec-carasactivaexpressoescape/</link>
<description><![CDATA[ <p>substituir todos campos com os url da eyeblaster</p> ]]></description>
<pubDate>Tue, 23 Aug 2011 01:53:32 GMT</pubDate>
<guid>http://snipplr.com/view/58093/zahir-preroll-instream-eyeblaster--smrec-carasactivaexpressoescape/</guid>
</item>
<item>
<title>(XML) Starbucks Internal Systems - s3xym4n</title>
<link>http://snipplr.com/view/57890/starbucks-internal-systems/</link>
<description><![CDATA[ <p>It seems that Starbucks allows it's internal systems to share the same network as their free WiFi...</p> ]]></description>
<pubDate>Wed, 17 Aug 2011 07:05:55 GMT</pubDate>
<guid>http://snipplr.com/view/57890/starbucks-internal-systems/</guid>
</item>
<item>
<title>(XML) MPP AssetUpdate XML - patriksvenssonmpsbroadbandcom</title>
<link>http://snipplr.com/view/57616/mpp-assetupdate-xml/</link>
<description><![CDATA[ <p>Simple example template of an AssetUpdateXML</p> ]]></description>
<pubDate>Thu, 04 Aug 2011 17:36:25 GMT</pubDate>
<guid>http://snipplr.com/view/57616/mpp-assetupdate-xml/</guid>
</item>
<item>
<title>(XML) MPP Content Import XML - patriksvenssonmpsbroadbandcom</title>
<link>http://snipplr.com/view/57613/mpp-content-import-xml/</link>
<description><![CDATA[ <p>Simple example template of an Import XML</p> ]]></description>
<pubDate>Thu, 04 Aug 2011 17:27:41 GMT</pubDate>
<guid>http://snipplr.com/view/57613/mpp-content-import-xml/</guid>
</item>
<item>
<title>(XML) Aneesa RSS Example - JustMadMike</title>
<link>http://snipplr.com/view/56817/aneesa-rss-example/</link>
<description><![CDATA[ <p>Could do something like this for each category.</p> ]]></description>
<pubDate>Tue, 19 Jul 2011 00:43:48 GMT</pubDate>
<guid>http://snipplr.com/view/56817/aneesa-rss-example/</guid>
</item>
<item>
<title>(XML) [android] Tabbar bottom without border - KolNedra</title>
<link>http://snipplr.com/view/56003/android-tabbar-bottom-without-border/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Fri, 01 Jul 2011 21:55:55 GMT</pubDate>
<guid>http://snipplr.com/view/56003/android-tabbar-bottom-without-border/</guid>
</item>
</channel>
</rss>
