Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2007-05-07 00:24:38

Aleksandersen
Member
From: Lillehammer, Norway
Registered: 2007-04-12
Posts: 77

How to mark up only the <summary> in Atom feeds with Creative Commons?

Hi,

Creative Commons licenses are embedded in Atom 1.0 feeds as <link rel="license"> tags. Either under <feed> or a spesific <entry>.

An entry could contain both <summary> and <content>. However I only want to license the summary tag, and not the whole thing. Is there any way of marking up the license like that?

// Example entry license
<entry>
   <title type="html">Example entry</title>
   <link type="alternate" href="http://example.com/" />
   <summary type="html">I am a just your neighbor.
      There is nothing more to it.</summary>
   <content type="html">"I am just your neighbor, and a liar--
      By the way, do you have Zoe's phone number?" is a popular
      quote, and a fictional novel from The Scince of Sleep.</content>
   <link rel="liense" type="html" href="http://creativecommons.org/ .." />
</entry>

So not the whole thing, just the summary. Suggestions?

Last edited by Aleksandersen (2007-05-07 00:31:57)

Offline

#2 2007-07-26 16:32:56

Aleksandersen
Member
From: Lillehammer, Norway
Registered: 2007-04-12
Posts: 77

Re: How to mark up only the <summary> in Atom feeds with Creative Commons?

http://www.ietf.org/rfc/rfc4946.txt

Offline

Board footer

Powered by FluxBB