Nucleus Core

Login!
Register as a new userLost password?

for Project:

This is the tracker for the Core of the Nucleus CMS-project (Nucleus CMS Website)

FS#58 — <%image%> and <%media%> skinvar stripped in RSS feed

Attached to Project— Nucleus Core
Opened by Edmond Hui (ehui) - Tuesday, 03 May 2005, 06:35PM
Last edited by Wouter Demuynck (karma) - Saturday, 23 July 2005, 10:29AM
Feature Req.
Functionality   → Parser
CLOSED
Wouter Demuynck
All
Low
Normal
CVS
3.3
Undecided
100%
If I'm not mistaken, the <%image%> and <%media%> skinvar are strip in the RSS feed. It might be good to have a way to have them generate in RSS feed, or at least mark as [image] or [media].

There should be a setting in blog to control it, or maybe a plugin to do that work??
This task depends upon

This task blocks these from closing
Closed by  Wouter Demuynck (karma)
Date:  Saturday, 23 July 2005, 05:51PM
Reason for closing:  Implemented
Additional comments about closing:  I believe this works fine
Comment by Wouter Demuynck (karma) - Sunday, 22 May 2005, 07:48PM

<p>Fixed the templates (RSS &amp; Atom)</p>

<ul>
<li>inline images -&gt; image as is</li>
<li>popup images -&gt; link to image (no popup!)</li>
<li>other files (<code>&lt;%media%&gt;</code>) -&gt; link to file</li>
</ul>

<p>To make this work, I had to add some new template vars for the popup and image code templateparts:</p>

<ol>
<li><code>&lt;%link%&gt;</code> inserts an URL for the image/file (in the case of a popup: without popup specific code)</li>
<li><code>&lt;%media%&gt;</code> always inserts <code>&lt;a href="<i>url of file/image</i>"&gt;<i>text</i>&lt;/a&gt;</code></li>
</ol>


Comment by Edmond Hui (ehui) - Sunday, 22 May 2005, 08:08PM

Thanks Wouter,

I will update my CVS blog to test it.


Comment by Edmond Hui (ehui) - Saturday, 28 May 2005, 07:01PM

still trying to test... encounter a secondary issue. My test blog's feed suddenly only showing the header (the skin), but no item (from template)..... still trying to resolve in order to test.

http://edmondhui.homeip.net/play/xml-rss2.php


Comment by Edmond Hui (ehui) - Saturday, 28 May 2005, 07:13PM

I think I found a secondary issue in the rss2.0 template. The item body is lost/overwrite by nothing after I re-import the template.....


Comment by Edmond Hui (ehui) - Saturday, 28 May 2005, 07:54PM

tested this case successfull
- [image] in inline image
- <img src="<%ilink%>" alt=""/> in inline image and popup image
- <%media%>

One suggestion is to modify the rss2.0 template to show [image] in inline and popup image by default. We will also need to document the use of <%media%> and &lt;img src="<%link%>" alt=""/>

Thanks!


Comment by Edmond Hui (ehui) - Friday, 03 June 2005, 11:37AM

The rss re-import problem is already reported: http://dev.nucleuscms.org/tracker/index.php?do=details&id=47