Re: Retrieve url path (host name plus path)

Florent André <[email protected]>
Newsgroups gmane.comp.cms.lenya.user
Message-ID <[email protected]>
On Thu, 15 Apr 2010 14:45:32 +0100, Vik Tara <[email protected]> wrote:
> Hi Florent,
> 
>> The base url retrive have to be "proxyied", have to be the same as the
>> client see...
>>
> 
> Can you retrieve it from the header in the http request?

Yep,

I have done a try yesterday, but maybe too rapidly... I will done another
try tomorrow...

Thanks Vik, nice end of day
++


> 
> Regards
> 
> 
> Vik
> 
> On 04/15/2010 01:32 PM, Florent André wrote:
>> Hi all,
>>
>> As I currently work on google's sitemap generation, I have to know the
>> host name and path of the request.
>>
>> I have a look into inputs modules but I only see one that gave
>> information
>> about "lenya document" (required to have an uuid).
>>
>> In my use case, I don't have a lenya doc... Here comes the design main
>> lines :
>>
>> - url finish with sitemap.xml (for example
http://example.com/sitemap.xml
>> , http://www.example.com/toto/foo/sitemap.xml)
>>
>> - publication's sitemap.XMAP intercept sitemap.xml ending and mount a
>> sitemap.xmap in seo module
>>
>> - in seo module, I have
>> -- a match on sitemap.xml
>> -- a navigation module generator
>> -- a navigationToSitemap transformer
>>
>> - into this transformer I have to know the entire url for generate a
good
>> sitemap.xml, I think to do this throw a<parameter name="baseUrl"
>> value="{anInputModule:key}">
>>
>> The base url retrive have to be "proxyied", have to be the same as the
>> client see...
>>
>> Any help would be great appreciated,
>>
>> Have a good day
>> ++
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [email protected]
>> For additional commands, e-mail: [email protected]
>>
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.