Adding Version information to feed items in the Gallery feed

- Renaming to "Orchard Exntensions Gallery"

--HG--
branch : dev
This commit is contained in:
Sebastien Ros
2010-10-18 17:13:53 -07:00
parent e85de1b884
commit 9205dd3b92
3 changed files with 8 additions and 2 deletions

View File

@@ -103,6 +103,10 @@ namespace PackageIndexReferenceImplementation.Controllers {
item.Summary = new TextSyndicationContent(packageProperties.Description);
}
if ( !string.IsNullOrEmpty(packageProperties.Version) ) {
item.ElementExtensions.Add("Version", "http://orchardproject.net", packageProperties.Version);
}
var mediaIdentifier = packageProperties.Identifier + "-" + packageProperties.Version + ".zip";
var mediaUrl = Url.Action("Resource", "Media", new RouteValueDictionary { { "Id", mediaIdentifier }, { "ContentType", "application/x-package" } });

View File

@@ -7,7 +7,7 @@
<configuration>
<appSettings>
<add key="Title" value="Orchard Modules Gallery"/>
<add key="Title" value="Orchard Extensions Gallery"/>
</appSettings>
<system.web>