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
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 | |
|
|
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??
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
Date: Saturday, 23 July 2005, 05:51PM
Reason for closing: Implemented
Additional comments about closing: I believe this works fine
<p>Fixed the templates (RSS & Atom)</p>
<ul>
<li>inline images -> image as is</li>
<li>popup images -> link to image (no popup!)</li>
<li>other files (<code><%media%></code>) -> 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><%link%></code> inserts an URL for the image/file (in the case of a popup: without popup specific code)</li>
<li><code><%media%></code> always inserts <code><a href="<i>url of file/image</i>"><i>text</i></a></code></li>
</ol>
Thanks Wouter,
I will update my CVS blog to test it.
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
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.....
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 <img src="<%link%>" alt=""/>
Thanks!
The rss re-import problem is already reported: http://dev.nucleuscms.org/tracker/index.php?do=details&id=47