[opencms-dev] RES: opencms-dev Digest, Vol 314, Issue 4

Allan Batista dos Santos talent.abatista at bvsistemas.com.br
Thu Oct 14 22:10:06 CEST 2010


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: opencms-dev-bounces at opencms.org [mailto:opencms-dev-bounces at opencms.org] Em nome de opencms-dev-request at opencms.org
Enviada em: quinta-feira, 14 de outubro de 2010 07:00
Para: opencms-dev at opencms.org
Assunto: opencms-dev Digest, Vol 314, Issue 4

Send opencms-dev mailing list submissions to
	opencms-dev at opencms.org

To subscribe or unsubscribe via the World Wide Web, visit
	http://lists.opencms.org/mailman/listinfo/opencms-dev
or, via email, send a message with subject or body 'help' to
	opencms-dev-request at opencms.org

You can reach the person managing the list at
	opencms-dev-owner at opencms.org

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 <carl-erik.herheim at nsd.uib.no>
Subject: [opencms-dev] OAMP RSS feed module, incorrect url in links
To: opencms-dev at opencms.org
Message-ID: <4CB5A4E9.7020503 at nsd.uib.no>
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 <m.jaeger at alkacon.com>
Subject: Re: [opencms-dev] OAMP RSS feed module, incorrect url in
	links
To: The OpenCms mailing list <opencms-dev at opencms.org>
Message-ID: <4CB6BB97.7040303 at alkacon.com>
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?

-- 
Kind Regards,
Mario.

-------------------
Mario J?ger

Alkacon Software GmbH  - The OpenCms Experts
http://www.alkacon.com - http://www.opencms.org


Am 13.10.2010 14:24, schrieb Carl-Erik Herheim:
> 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
>
> _______________________________________________
> This mail is sent to you from the opencms-dev mailing list
> To change your list options, or to unsubscribe from the list, please visit
> http://lists.opencms.org/mailman/listinfo/opencms-dev


------------------------------

Message: 3
Date: Thu, 14 Oct 2010 11:37:00 +0200 (CEST)
From: "Alain TOMASIAN" <alain.tomasian at naos.com>
Subject: [opencms-dev] Adding a new file type in opencms
To: opencms-dev at opencms.org
Message-ID: <49652.87.231.50.184.1287049020.squirrel at webmail.naos.com>
Content-Type: text/plain;charset=iso-8859-1

Hi,

I use OpenCMS 7.5.2 with tomcat 6.0.18.

I would like extend the opencms file type (like pdf file or flash file,...). I
found on the wiki site this page :

http://opencms-wiki.org/Custom_File_and_Folder_Types

I tried ti create a new module to do this. Here is the module description in
the opemcms-modules.xml file :

<module>
 <name>com.naos.opencms.files.extension</name>
 <nicename><![CDATA[NAOS Files extension]]></nicename>
 <group>NAOS</group>
 <class/>
 <description><![CDATA[NAOS Files extension]]></description>
 <version>1.15</version>
 <authorname><![CDATA[Alain TOMASIAN]]></authorname>
 <authoremail><![CDATA[alain.tomasian at naos.com]]></authoremail>
 <datecreated/>
 <userinstalled/>
 <dateinstalled/>
 <dependencies/>
 <exportpoints>
  <exportpoint uri="/system/modules/com.naos.opencms.files.extension/classes/"
destination="WEB-INF/classes/"/>
 </exportpoints>
 <resources>
  <resource uri="/system/modules/com.naos.opencms.files.extension/"/>
  <resource uri="/system/workplace/resources/filetypes/flash.gif"/>
 </resources>
 <parameters/>
 <resourcetypes>
 <type class="org.opencms.file.types.CmsResourceTypeUnknown" name="flash"
id="200">
   <mappings>
	<mapping suffix=".swf"/>
   </mappings>
 </type>
 </resourcetypes>
 <explorertypes>
	<explorertype name="flash" key="fileicon.flash" icon="flash.gif"
reference="unknow">
	<newresource uri="" order="200" autosetnavigation="false" autosettitle="false"/>
	<accesscontrol>
		<accessentry principal="GROUP.Administrators" permissions="+r+v+w+c"/>
		<accessentry principal="GROUP.Users" permissions="+r+v+w+c"/>
		<accessentry principal="GROUP.Projectmanagers" permissions="+r+v+w+c"/>
	</accesscontrol>
  </explorertype>
 </explorertypes>
</module>

But it does'nt work...

No special action is needed for the new file type, just like the binary file.

Is there someone who can help me ?

Thanks a lot,

Alain.
__________________________________________
 Alain TOMASIAN - NAOS Technologies
 33, avenue Philippe Auguste - 75011 PARIS
 +33 1 402 402 86 - http://www.naos.com
__________________________________________
D?couvrez notre solution de communication
     par email : http://www.enews.fr
__________________________________________




------------------------------

Message: 4
Date: Thu, 14 Oct 2010 11:02:31 +0200
From: Carl-Erik Herheim <carl-erik.herheim at nsd.uib.no>
Subject: Re: [opencms-dev] OAMP RSS feed module, incorrect url in
	links
To: opencms-dev at opencms.org
Message-ID: <4CB6C727.7070404 at nsd.uib.no>
Content-Type: text/plain; charset="iso-8859-1"



Hi Mario, thanks for the reply!
I'm sorry if I was unclear. The servername in opencms-system.xml is a local machine name, like this:
<workplace-server>http://internalname:18080</workplace-server>

The real site name is defined in tomcat server.xml like this
<Connector port="18080" proxyPort="80" proxyName="www.myserver.com" ... />
I believe this is a common set-up as part of removing /opencms/opencms in the url using apache and proxy?
So the problem is that the links in the rss feed go to http://internalname:18080/feed/yadayada0001.html, and I don't know how to fix it...

Thanks,
Carl-Erik


At 14.10.2010 10:13, Mario J?ger wrote:

>/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?
/>
>/-- 
/>/Kind Regards,
/>/Mario.
/>
>/-------------------
/>/Mario J?ger
/>
>/Alkacon Software GmbH  - The OpenCms Experts
/>  <http://www.alkacon.com>/http://www.alkacon.com  -http://www.opencms.org/
>
>>
>>Am 13.10.2010 14:24, schrieb Carl-Erik Herheim:
>>/  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
/

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.opencms.org/pipermail/opencms-dev/attachments/20101014/49f6b830/attachment.html 

------------------------------

_______________________________________________
This mail is send to you from the opencms-dev mailing list
To change your list options, or to unsubscribe from the list, please visit
http://mail.opencms.org/mailman/listinfo/opencms-dev

End of opencms-dev Digest, Vol 314, Issue 4
*******************************************
Esta mensagem e seus anexos podem conter informações confidenciais ou privilegiadas. Se você não é o destinatário dos mesmos você não está autorizado a utilizar o material para qualquer fim. Solicitamos que você apague a mensagem e avise imediatamente ao remetente. O conteúdo desta mensagem e seus anexos não representam necessariamente a opinião e a intenção da empresa, não implicando em qualquer obrigaçâo ou responsabilidade da parte da mesma. 
This message may contain confidential and/or privileged information. If you are not the addressee or authorized to receive this for the addressee, you must not use, copy, disclose or take any action based on this message or any information herein. If you have received this message in error, please advise the sender immediately by reply e-mail and delete this message. The contents of this message and its attachments do not necessarily express the opinion or the intention of the company, and do not implies any legal obligation or responsibilities from this company.   




More information about the opencms-dev mailing list