|
Home > Archive > Microsoft Content Management Server > December 2005 > Resource Gallery item friendly url.
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
Resource Gallery item friendly url.
|
|
| jarkkotv 2005-12-19, 5:55 pm |
| Hi everyone!
Does anyone know, how can I show resource gallery item's "friendly" url
to the endusers in MCMS 2002?
Thanks!
Jarkko
| |
| Stefan [MSFT] 2005-12-19, 5:55 pm |
| Hi Jarkko,
MCMS does not have a concept of friendly URLs for resource gallery items.
So there is no way to do this with MCMS alone.
What you could do is
1) create an ISAPI filter that maps friendly URLs to ugly URLs (that's how
MCMS does this for postings as well)
2) create an ASPX webform that takes the path to the resource gallery item
as a query string parameter and then returns the content as http stream
3) create a http handler for the resource gallery items and then let the
http handler do the streaming of the content. You would need to register the
handler for the different extensions of the files in the resource gallery.
Cheers,
Stefan
--
This posting is provided "AS IS" with no warranties, and confers no rights
New to MCMS?
Check out this book: Building Websites Using MCMS: http://tinyurl.com/6zj44
Check out the new book as well: Advanced MCMS development:
http://tinyurl.com/8ugwj
----------------------
"jarkkotv" <jarkkotv@hotmail.com> wrote in message
news:1135002774.369339.109610@g43g2000cwa.googlegroups.com...
> Hi everyone!
>
> Does anyone know, how can I show resource gallery item's "friendly" url
> to the endusers in MCMS 2002?
>
> Thanks!
>
> Jarkko
>
| |
| jarkkotv 2005-12-19, 5:55 pm |
| Thanks Stefan for the quick response!
Cheers, Jarkko
|
|
|
|
|