deepthoughts.rss

来自「OpenCMS内容管理入门指南」· RSS 代码 · 共 27 行

RSS
27
字号
<?xml version="1.0" encoding="UTF-8"?><RSSChannelDefs xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="opencms://system/modules/com.deepthoughts.rss/schemas/rsschanneldef.xsd">  <RSSChannelDef language="en">    <Title><![CDATA[Deep Thoughts]]></Title>    <Description><![CDATA[Deep Thoughts RSS Feed]]></Description>    <Copyright><![CDATA[Copyright 2007]]></Copyright>    <Author><![CDATA[dliliedahl@gmail.com]]></Author>    <PublishDate>1193169780000</PublishDate>    <ImageTitle><![CDATA[My Warped RSS Feed]]></ImageTitle>    <divider><![CDATA[<div style='background:#f0f0f0; border:solid 1px grey; border-radius: 1em; padding: 2px; font-family:Segoe UI,trebuchet ms,arial,sans-serif,tahoma,verdana; '>     <b>For Source Title and Description fields, use this syntax:</b><br><pre>     To map to meta-value use: <b>meta.metaname</b><br>        where metaname is one of the following: UserCreated, UserLastModified,<br>         DateContent, DateCreated, DateExpired, DateLastModified, DateReleased<br>     To map to a property value use: <b>property.propertyname+</b><br>           where propertyname is any valid property<br>              (adding the optional plus sign at the end will search the parent)<br>     To map to content field use: <b>field.fieldname[size+-]</b><br>        where fieldname is the name of the content field<br>           (adding the optional size will truncate the size in the feed listing)<br>        use + to truncate up to the next period or end<br>        or use - to truncate down</pre></div>]]></divider>    <ChannelSource>      <SourceContentType><![CDATA[blogentry]]></SourceContentType>      <SourceLocation>        <link type="WEAK">          <target><![CDATA[/sites/default/Blogs/]]></target>          <uuid>6381aeb5-fcdc-11dc-b7f9-112233445566</uuid>        </link>      </SourceLocation>      <FeedLimit/>      <SourceTitleField><![CDATA[property.Title]]></SourceTitleField>      <SourceDescField><![CDATA[field.BlogText[400+]]]></SourceDescField>      <SourceAuthorField><![CDATA[meta.UserCreated]]></SourceAuthorField>    </ChannelSource>  </RSSChannelDef></RSSChannelDefs>

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?