<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Inconvenient WSSv3 RSS Feeds</title>
	<atom:link href="http://blog.mastykarz.nl/inconvenient-wssv3-rss-feeds/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.mastykarz.nl/inconvenient-wssv3-rss-feeds/</link>
	<description>Innovation Matters &#124; SharePoint Server MVP &#124; ISSN 2210-9390</description>
	<lastBuildDate>Thu, 09 Feb 2012 05:22:29 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
	<item>
		<title>By: Waldek Mastykarz</title>
		<link>http://blog.mastykarz.nl/inconvenient-wssv3-rss-feeds/comment-page-1/#comment-64209</link>
		<dc:creator>Waldek Mastykarz</dc:creator>
		<pubDate>Wed, 22 Dec 2010 05:47:58 +0000</pubDate>
		<guid isPermaLink="false">http://blog.mastykarz.nl/2008/08/13/inconvenient-wssv3-rss-feeds/#comment-64209</guid>
		<description>@Greg: You could do it with Regular Expressions but you might as well try using XmlDocument or XDocument. If you&#039;re not familiar with Regular Expressions the later might be a better solution.</description>
		<content:encoded><![CDATA[<p>@Greg: You could do it with Regular Expressions but you might as well try using XmlDocument or XDocument. If you&#039;re not familiar with Regular Expressions the later might be a better solution.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Greg Robinson</title>
		<link>http://blog.mastykarz.nl/inconvenient-wssv3-rss-feeds/comment-page-1/#comment-64190</link>
		<dc:creator>Greg Robinson</dc:creator>
		<pubDate>Wed, 22 Dec 2010 02:37:58 +0000</pubDate>
		<guid isPermaLink="false">http://blog.mastykarz.nl/2008/08/13/inconvenient-wssv3-rss-feeds/#comment-64190</guid>
		<description>Do you have an example of how to do this: &quot;Using some simple Regular Expressions you could grab the contents of the not-anymore-title-column and paste it between the  element of the RSS Feed item.&quot;

I am trying to customize the RssXslt.aspx page to render my RSS feeds without links to the display forms for my publishing site, but I am having no luck. Your solution logically makes sense but I can&#039;t quite wrap my head round it.

Thanks.</description>
		<content:encoded><![CDATA[<p>Do you have an example of how to do this: &#034;Using some simple Regular Expressions you could grab the contents of the not-anymore-title-column and paste it between the  element of the RSS Feed item.&#034;</p>
<p>I am trying to customize the RssXslt.aspx page to render my RSS feeds without links to the display forms for my publishing site, but I am having no luck. Your solution logically makes sense but I can&#039;t quite wrap my head round it.</p>
<p>Thanks.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Waldek Mastykarz</title>
		<link>http://blog.mastykarz.nl/inconvenient-wssv3-rss-feeds/comment-page-1/#comment-49242</link>
		<dc:creator>Waldek Mastykarz</dc:creator>
		<pubDate>Tue, 08 Jun 2010 19:31:54 +0000</pubDate>
		<guid isPermaLink="false">http://blog.mastykarz.nl/2008/08/13/inconvenient-wssv3-rss-feeds/#comment-49242</guid>
		<description>@dexy: thanks for the tip :D</description>
		<content:encoded><![CDATA[<p>@dexy: thanks for the tip :D</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: dexy</title>
		<link>http://blog.mastykarz.nl/inconvenient-wssv3-rss-feeds/comment-page-1/#comment-49215</link>
		<dc:creator>dexy</dc:creator>
		<pubDate>Tue, 08 Jun 2010 07:10:17 +0000</pubDate>
		<guid isPermaLink="false">http://blog.mastykarz.nl/2008/08/13/inconvenient-wssv3-rss-feeds/#comment-49215</guid>
		<description>Bugger, it didn&#039;t like the XML I put in, I replaced the gt&#039;s and lt&#039;s with HTML chars, hope it works this time:

(original BaseName SchemaXML)
&lt;Field ID=&quot;{7615464b-559e-4302-b8e2-8f440b913101}&quot; ReadOnly=&quot;TRUE&quot; Hidden=&quot;TRUE&quot; Type=&quot;Computed&quot; Name=&quot;BaseName&quot; DisplayName=&quot;Name&quot; Filterable=&quot;FALSE&quot; RenderXMLUsingPattern=&quot;TRUE&quot; SourceID=&quot;http://schemas.microsoft.com/sharepoint/v3&quot; StaticName=&quot;BaseName&quot; FromBaseType=&quot;TRUE&quot;&gt;&lt;FieldRefs&gt;&lt;FieldRef Name=&quot;FileLeafRef&quot;/&gt;&lt;FieldRef Name=&quot;FSObjType&quot;/&gt;&lt;/FieldRefs&gt;&lt;DisplayPattern&gt;&lt;IfEqual&gt;&lt;Expr1&gt;&lt;LookupColumn Name=&quot;FSObjType&quot;/&gt;&lt;/Expr1&gt;&lt;Expr2&gt;1&lt;/Expr2&gt;&lt;Then&gt;&lt;LookupColumn Name=&quot;FileLeafRef&quot; HTMLEncode=&quot;TRUE&quot;/&gt;&lt;/Then&gt;&lt;Else&gt;&lt;UrlBaseName HTMLEncode=&quot;TRUE&quot;&gt;&lt;LookupColumn Name=&quot;FileLeafRef&quot;/&gt;&lt;/UrlBaseName&gt;&lt;/Else&gt;&lt;/IfEqual&gt;&lt;/DisplayPattern&gt;&lt;/Field&gt;

(new BaseName SchemaXML)
&lt;Field ID=&quot;{7615464b-559e-4302-b8e2-8f440b913101}&quot; ReadOnly=&quot;TRUE&quot; Hidden=&quot;TRUE&quot; Type=&quot;Computed&quot; Name=&quot;BaseName&quot; DisplayName=&quot;Name&quot; Filterable=&quot;FALSE&quot; RenderXMLUsingPattern=&quot;TRUE&quot; SourceID=&quot;http://schemas.microsoft.com/sharepoint/v3&quot; StaticName=&quot;BaseName&quot; FromBaseType=&quot;TRUE&quot;&gt;&lt;FieldRefs&gt;&lt;FieldRef Name=&quot;Title&quot;/&gt;&lt;FieldRef Name=&quot;FSObjType&quot;/&gt;&lt;/FieldRefs&gt;&lt;DisplayPattern&gt;&lt;IfEqual&gt;&lt;Expr1&gt;&lt;LookupColumn Name=&quot;FSObjType&quot;/&gt;&lt;/Expr1&gt;&lt;Expr2&gt;1&lt;/Expr2&gt;&lt;Then&gt;&lt;LookupColumn Name=&quot;Title&quot; HTMLEncode=&quot;TRUE&quot;/&gt;&lt;/Then&gt;&lt;Else&gt;&lt;UrlBaseName HTMLEncode=&quot;TRUE&quot;&gt;&lt;LookupColumn Name=&quot;Title&quot;/&gt;&lt;/UrlBaseName&gt;&lt;/Else&gt;&lt;/IfEqual&gt;&lt;/DisplayPattern&gt;&lt;/Field&gt;</description>
		<content:encoded><![CDATA[<p>Bugger, it didn&#039;t like the XML I put in, I replaced the gt&#039;s and lt&#039;s with HTML chars, hope it works this time:</p>
<p>(original BaseName SchemaXML)<br />
&lt;Field ID=&#034;{7615464b-559e-4302-b8e2-8f440b913101}&#034; ReadOnly=&#034;TRUE&#034; Hidden=&#034;TRUE&#034; Type=&#034;Computed&#034; Name=&#034;BaseName&#034; DisplayName=&#034;Name&#034; Filterable=&#034;FALSE&#034; RenderXMLUsingPattern=&#034;TRUE&#034; SourceID=&#034;http://schemas.microsoft.com/sharepoint/v3&#034; StaticName=&#034;BaseName&#034; FromBaseType=&#034;TRUE&#034;&gt;&lt;FieldRefs&gt;&lt;FieldRef Name=&#034;FileLeafRef&#034;/&gt;&lt;FieldRef Name=&#034;FSObjType&#034;/&gt;&lt;/FieldRefs&gt;&lt;DisplayPattern&gt;&lt;IfEqual&gt;&lt;Expr1&gt;&lt;LookupColumn Name=&#034;FSObjType&#034;/&gt;&lt;/Expr1&gt;&lt;Expr2&gt;1&lt;/Expr2&gt;&lt;Then&gt;&lt;LookupColumn Name=&#034;FileLeafRef&#034; HTMLEncode=&#034;TRUE&#034;/&gt;&lt;/Then&gt;&lt;Else&gt;&lt;UrlBaseName HTMLEncode=&#034;TRUE&#034;&gt;&lt;LookupColumn Name=&#034;FileLeafRef&#034;/&gt;&lt;/UrlBaseName&gt;&lt;/Else&gt;&lt;/IfEqual&gt;&lt;/DisplayPattern&gt;&lt;/Field&gt;</p>
<p>(new BaseName SchemaXML)<br />
&lt;Field ID=&#034;{7615464b-559e-4302-b8e2-8f440b913101}&#034; ReadOnly=&#034;TRUE&#034; Hidden=&#034;TRUE&#034; Type=&#034;Computed&#034; Name=&#034;BaseName&#034; DisplayName=&#034;Name&#034; Filterable=&#034;FALSE&#034; RenderXMLUsingPattern=&#034;TRUE&#034; SourceID=&#034;http://schemas.microsoft.com/sharepoint/v3&#034; StaticName=&#034;BaseName&#034; FromBaseType=&#034;TRUE&#034;&gt;&lt;FieldRefs&gt;&lt;FieldRef Name=&#034;Title&#034;/&gt;&lt;FieldRef Name=&#034;FSObjType&#034;/&gt;&lt;/FieldRefs&gt;&lt;DisplayPattern&gt;&lt;IfEqual&gt;&lt;Expr1&gt;&lt;LookupColumn Name=&#034;FSObjType&#034;/&gt;&lt;/Expr1&gt;&lt;Expr2&gt;1&lt;/Expr2&gt;&lt;Then&gt;&lt;LookupColumn Name=&#034;Title&#034; HTMLEncode=&#034;TRUE&#034;/&gt;&lt;/Then&gt;&lt;Else&gt;&lt;UrlBaseName HTMLEncode=&#034;TRUE&#034;&gt;&lt;LookupColumn Name=&#034;Title&#034;/&gt;&lt;/UrlBaseName&gt;&lt;/Else&gt;&lt;/IfEqual&gt;&lt;/DisplayPattern&gt;&lt;/Field&gt;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: dexy</title>
		<link>http://blog.mastykarz.nl/inconvenient-wssv3-rss-feeds/comment-page-1/#comment-49214</link>
		<dc:creator>dexy</dc:creator>
		<pubDate>Tue, 08 Jun 2010 07:05:45 +0000</pubDate>
		<guid isPermaLink="false">http://blog.mastykarz.nl/2008/08/13/inconvenient-wssv3-rss-feeds/#comment-49214</guid>
		<description>Hi Waldek,
I was battling for a solution to this problem for a while, and was considering implementing one of your suggestions, but then I went digging with Reflector.
Found out that the DisplayName property which you mentioned is being used is actually reading the string from a field called &quot;BaseName&quot;, which is a computed field - not part of the ContentType, it&#039;s just a field added straight on the list (I guess it&#039;s a &quot;Document Library&quot; field).

So, after investigating why BaseName was returning the filename instead of the title, I decided modification of the computed value would be a good solution. I couldn&#039;t find anything that would require BaseName to have the document&#039;s filename.. so off I went on a SchemaXML &#039;hacking&#039; trip.

The original schemaXML for the BaseName field looks like this:
1

I wrote a simple little C# WinForms app which changed the SchemaXML to this:
1

I didn&#039;t think it would work at first, but after setting that SchemaXML, the RSS feeds now display the titles of the items!! Awesome! I couldn&#039;t find any side-effects of my change either..

Here&#039;s the C# I used:
SPField bnfld = list.Fields.GetFieldByInternalName(&quot;BaseName&quot;);
if (bnfld != null)
{
    bnfld.SchemaXml = @&quot;1&quot;;
    bnfld.Update();
}

You just need an SPList object (list variable), of the list (well, library) you want to fix the RSS titles for.</description>
		<content:encoded><![CDATA[<p>Hi Waldek,<br />
I was battling for a solution to this problem for a while, and was considering implementing one of your suggestions, but then I went digging with Reflector.<br />
Found out that the DisplayName property which you mentioned is being used is actually reading the string from a field called &#034;BaseName&#034;, which is a computed field &#8211; not part of the ContentType, it&#039;s just a field added straight on the list (I guess it&#039;s a &#034;Document Library&#034; field).</p>
<p>So, after investigating why BaseName was returning the filename instead of the title, I decided modification of the computed value would be a good solution. I couldn&#039;t find anything that would require BaseName to have the document&#039;s filename.. so off I went on a SchemaXML &#039;hacking&#039; trip.</p>
<p>The original schemaXML for the BaseName field looks like this:<br />
1</p>
<p>I wrote a simple little C# WinForms app which changed the SchemaXML to this:<br />
1</p>
<p>I didn&#039;t think it would work at first, but after setting that SchemaXML, the RSS feeds now display the titles of the items!! Awesome! I couldn&#039;t find any side-effects of my change either..</p>
<p>Here&#039;s the C# I used:<br />
SPField bnfld = list.Fields.GetFieldByInternalName(&#034;BaseName&#034;);<br />
if (bnfld != null)<br />
{<br />
    bnfld.SchemaXml = @&#034;1&#034;;<br />
    bnfld.Update();<br />
}</p>
<p>You just need an SPList object (list variable), of the list (well, library) you want to fix the RSS titles for.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

