Skip to content

Commit

Permalink
rss cdata for html
Browse files Browse the repository at this point in the history
  • Loading branch information
ropalko committed Nov 4, 2020
1 parent a96e642 commit a52cf71
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 7 deletions.
14 changes: 9 additions & 5 deletions .data/app.xml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<SexyContent FileVersion="07.00.00" MinimumRequiredVersion="07.00.00" ModuleVersion="11.04.01" ExportDate="2020-08-12T11:56:45.642065+02:00">
<SexyContent FileVersion="07.00.00" MinimumRequiredVersion="07.00.00" ModuleVersion="11.07.03" ExportDate="2020-11-04T12:54:51.5395495+01:00">
<Header>
<App Guid="3a5ad280-e261-4a49-abec-00ad1429f70e" />
<Language Default="en-US" />
<Language Default="en-us" />
<Dimensions>
<Dimension DimensionID="97" Name="English (United States)" SystemKey="" ExternalKey="en-US" Active="true" />
<Dimension DimensionID="98" Name="Deutsch (Deutschland)" SystemKey="" ExternalKey="de-DE" Active="true" />
Expand Down Expand Up @@ -1876,7 +1876,7 @@
<Value Key="SupportsAjaxReload" Value="True" Type="Boolean">
<Dimension DimensionID="97" ReadOnly="false" />
</Value>
<Value Key="Version" Value="04.01.00" Type="String">
<Value Key="Version" Value="04.02.00" Type="String">
<Dimension DimensionID="97" ReadOnly="false" />
</Value>
</Entity>
Expand Down Expand Up @@ -3365,7 +3365,7 @@
<Value Key="MetaTitle" Value="Demo - Meta Title" Type="String">
<Dimension DimensionID="97" ReadOnly="false" />
</Value>
<Value Key="PublicationMoment" Value="2020-05-04T00:00:00" Type="DateTime">
<Value Key="PublicationMoment" Value="2020-11-03T00:00:00" Type="DateTime">
<Dimension DimensionID="97" ReadOnly="false" />
</Value>
<Value Key="SharingDescription" Value="Demo - Sharing Description" Type="String">
Expand Down Expand Up @@ -3404,7 +3404,7 @@
<Value Key="MetaTitle" Value="" Type="String">
<Dimension DimensionID="97" ReadOnly="false" />
</Value>
<Value Key="PublicationMoment" Value="2019-06-26T12:00:00" Type="DateTime">
<Value Key="PublicationMoment" Value="2020-10-03T12:00:00" Type="DateTime">
<Dimension DimensionID="97" ReadOnly="false" />
</Value>
<Value Key="SharingDescription" Value="" Type="String">
Expand Down Expand Up @@ -3613,6 +3613,10 @@
<Folder Id="7712" RelativePath="adam/Blog4/" />
<Folder Id="7815" RelativePath="adam/Blog4/AdttIZyPjUuxt0T3NFl0mQ/" />
<Folder Id="7809" RelativePath="adam/Blog4/eNNVoICvLUGKZM7FWXYyYA/" />
<Folder Id="10317" RelativePath="adam/Blog4/HAp2zIKQzEqZm9LVG4_h8g/" />
<Folder Id="10318" RelativePath="adam/Blog4/HAp2zIKQzEqZm9LVG4_h8g/Image/" />
<Folder Id="7811" RelativePath="adam/Blog4/rkOvVN4ESU-rXYp01WEEJQ/" />
<Folder Id="10289" RelativePath="adam/Blog4/YXVGoWmRjUShjcoQl0cTMw/" />
<Folder Id="10290" RelativePath="adam/Blog4/YXVGoWmRjUShjcoQl0cTMw/Image/" />
</PortalFolders>
</SexyContent>
4 changes: 2 additions & 2 deletions _RSS Feed.cshtml
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@
@Tag.Custom("description", App.Settings.RssDescription)
@foreach(var post in AsList(Data["AllPosts"])) {
<item>
@Tag.Custom("title", post.EntityTitle)
@Tag.Custom("title", "<![CDATA["+post.EntityTitle+"]]>")
@Tag.Custom("link", Link.To(pageId: detailsPageTabId, parameters: "details=" + post.UrlKey))
@Tag.Custom("description", post.Teaser)
@Tag.Custom("description", "<![CDATA["+post.Teaser+"]]>")
@Tag.Custom("guid", post.EntityGuid.ToString()).Attr("isPermaLink", false)
@Tag.Custom("pubDate", post.PublicationMoment.ToString("R"))
</item>
Expand Down

0 comments on commit a52cf71

Please sign in to comment.