<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
<title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
<pre>Hi Allan,
In the RSS feed xml content you can configure the collector to use. The default collector is the "allInFolder" collector. If you use that collector, than you have to configure these parameters: {VFS URI}|{Resource type}|{Count}.
These parameters include the following information for the "allInFolder" collector:
- {VFS URI}: in which VFS folder to collect resources
- {Resource type}: collect resources of which resource type
- {Count}: how many resources to collect at most
You set these parameters:<i class="moz-txt-slash"> <span class="moz-txt-tag">/</span>bv/sobre_banco<span class="moz-txt-tag">/</span></i>|newsarticle|10
And that means for the collector:
- <i class="moz-txt-slash"><span class="moz-txt-tag">/</span>bv/sobre_banco<span class="moz-txt-tag">/</span></i>: collect resources in VFS folder "<i class="moz-txt-slash"><span class="moz-txt-tag">/</span>bv/sobre_banco<span class="moz-txt-tag">/</span></i>"
- newsarticle: collect resources of resource type "newsarticle"
- 10: collect 10 resources at most
If you want to display resources of type "news" ("New" -> "Structured Content" -> "News article"), then you have to set the {Resource type} parameter value to "news" instead of "newsarticle":<i class="moz-txt-slash">
<span class="moz-txt-tag">/</span>bv/sobre_banco<span class="moz-txt-tag">/</span></i>|news|10
</pre>
<pre class="moz-signature" cols="72">--
Kind Regards,
Mario.
-------------------
Mario Jäger
Alkacon Software GmbH - The OpenCms Experts
<a class="moz-txt-link-freetext" href="http://www.alkacon.com">http://www.alkacon.com</a> - <a class="moz-txt-link-freetext" href="http://www.opencms.org">http://www.opencms.org</a></pre>
<br>
Am 14.10.2010 22:10, schrieb Allan Batista dos Santos:
<blockquote
cite="mid:58B394144CACFB4B84254491696F54DD20CB748FB7@MOR-EXMBPRD01.bvnet.bv"
type="cite">
<pre wrap="">Hi Guys.
I need help too, my RSS return a empty page, no articles.
I cannot understand Parameters e.g:
/bv/sobre_banco/|newsarticle|10
What's this: newsarticle and 10
What are Parameters
Regards.
Allan B
-----Mensagem original-----
De: <a class="moz-txt-link-abbreviated" href="mailto:opencms-dev-bounces@opencms.org">opencms-dev-bounces@opencms.org</a> [<a class="moz-txt-link-freetext" href="mailto:opencms-dev-bounces@opencms.org">mailto:opencms-dev-bounces@opencms.org</a>] Em nome de <a class="moz-txt-link-abbreviated" href="mailto:opencms-dev-request@opencms.org">opencms-dev-request@opencms.org</a>
Enviada em: quinta-feira, 14 de outubro de 2010 07:00
Para: <a class="moz-txt-link-abbreviated" href="mailto:opencms-dev@opencms.org">opencms-dev@opencms.org</a>
Assunto: opencms-dev Digest, Vol 314, Issue 4
Send opencms-dev mailing list submissions to
<a class="moz-txt-link-abbreviated" href="mailto:opencms-dev@opencms.org">opencms-dev@opencms.org</a>
To subscribe or unsubscribe via the World Wide Web, visit
<a class="moz-txt-link-freetext" href="http://lists.opencms.org/mailman/listinfo/opencms-dev">http://lists.opencms.org/mailman/listinfo/opencms-dev</a>
or, via email, send a message with subject or body 'help' to
<a class="moz-txt-link-abbreviated" href="mailto:opencms-dev-request@opencms.org">opencms-dev-request@opencms.org</a>
You can reach the person managing the list at
<a class="moz-txt-link-abbreviated" href="mailto:opencms-dev-owner@opencms.org">opencms-dev-owner@opencms.org</a>
When replying, please edit your Subject line so it is more specific
than "Re: Contents of opencms-dev digest..."
Today's Topics:
1. OAMP RSS feed module, incorrect url in links (Carl-Erik Herheim)
2. Re: OAMP RSS feed module, incorrect url in links (Mario J?ger)
3. Adding a new file type in opencms (Alain TOMASIAN)
4. Re: OAMP RSS feed module, incorrect url in links
(Carl-Erik Herheim)
----------------------------------------------------------------------
Message: 1
Date: Wed, 13 Oct 2010 14:24:09 +0200
From: Carl-Erik Herheim <a class="moz-txt-link-rfc2396E" href="mailto:carl-erik.herheim@nsd.uib.no"><carl-erik.herheim@nsd.uib.no></a>
Subject: [opencms-dev] OAMP RSS feed module, incorrect url in links
To: <a class="moz-txt-link-abbreviated" href="mailto:opencms-dev@opencms.org">opencms-dev@opencms.org</a>
Message-ID: <a class="moz-txt-link-rfc2396E" href="mailto:4CB5A4E9.7020503@nsd.uib.no"><4CB5A4E9.7020503@nsd.uib.no></a>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
I've installed the OAMP rss feed module on one of our opencms servers,
and I'm having trouble with the links in the rss feed.
The link uses the address defined in <workplace-server> / <site server>
in opencms-system.xml instead of the actual site url that users can
access. I guess it bypasses the tomcat setup or whatnot... How can I fix
this?
This is on a server with Opencms version 7.5.0, tomcat 5.5.27. We've
removed /opencms/ from the path.
Thanks,
Carl-Erik Herheim
------------------------------
Message: 2
Date: Thu, 14 Oct 2010 10:13:11 +0200
From: Mario J?ger <a class="moz-txt-link-rfc2396E" href="mailto:m.jaeger@alkacon.com"><m.jaeger@alkacon.com></a>
Subject: Re: [opencms-dev] OAMP RSS feed module, incorrect url in
links
To: The OpenCms mailing list <a class="moz-txt-link-rfc2396E" href="mailto:opencms-dev@opencms.org"><opencms-dev@opencms.org></a>
Message-ID: <a class="moz-txt-link-rfc2396E" href="mailto:4CB6BB97.7040303@alkacon.com"><4CB6BB97.7040303@alkacon.com></a>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Hi Carl-Erik,
Yes, you are right. The rss feed uses the configuration in the opencms-system.xml. If you use the rss feed in site A, then the links in the rss feed go to site A. If you use the rss feed in site B, then the links in the rss feed go to site B.
What do you mean with the actual site url, that users can access? Please, describe your problem in more detail.
Did you also check it in the "Online" project?
</pre>
</blockquote>
</body>
</html>