mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2025-10-14 10:54:50 +08:00
Adding Version information to feed items in the Gallery feed
- Renaming to "Orchard Exntensions Gallery" --HG-- branch : dev
This commit is contained in:
@@ -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" } });
|
||||
|
@@ -7,7 +7,7 @@
|
||||
|
||||
<configuration>
|
||||
<appSettings>
|
||||
<add key="Title" value="Orchard Modules Gallery"/>
|
||||
<add key="Title" value="Orchard Extensions Gallery"/>
|
||||
</appSettings>
|
||||
|
||||
<system.web>
|
||||
|
Reference in New Issue
Block a user