List Info

Thread: Creating e-mail addresses with SSI




Creating e-mail addresses with SSI
user name
2006-12-22 15:08:39
I'm working on a site redesign with server side includes.  I
would
like to use SSIs to create a unique e-mail contact address
on each
page - many people submit genealogical inquiries which are
less
cryptic if I know what page they were looking at.

DOCUMENT_NAME won't get me a unique page name.  DOCUMENT_URI
will, but
I am wary of creating an e-mail address with slashes in it.

If anyone knows that slashes are generally accepted by
e-mail software
(it worked with Google Mail but took a while) then I can do
it that
way.  Otherwise, I was browsing through the Variable
Substitution
section of

<http://httpd.apache.org/docs/1.3/mod/mod_include.html&g
t;

and it appeared that if I could figure out a way to convert
the
slashes to e.g. hyphens I could then append the rest of the
address
and everything would work.  Does anyone have an idea of how
to do that
conversion?

Thanks for any advice,

-- 
Bob Sullivan
Schenectady Digital History Archive
<http://www.sch
enectadyhistory.org/>
Schenectady County (NY) Public Library
_______________________________________________
Web4lib mailing list
Web4libwebjunction.org
http://lists.we
bjunction.org/web4lib/
Creating e-mail addresses with SSI
user name
2006-12-22 15:08:39
I'm working on a site redesign with server side includes.  I
would
like to use SSIs to create a unique e-mail contact address
on each
page - many people submit genealogical inquiries which are
less
cryptic if I know what page they were looking at.

DOCUMENT_NAME won't get me a unique page name.  DOCUMENT_URI
will, but
I am wary of creating an e-mail address with slashes in it.

If anyone knows that slashes are generally accepted by
e-mail software
(it worked with Google Mail but took a while) then I can do
it that
way.  Otherwise, I was browsing through the Variable
Substitution
section of

<http://httpd.apache.org/docs/1.3/mod/mod_include.html&g
t;

and it appeared that if I could figure out a way to convert
the
slashes to e.g. hyphens I could then append the rest of the
address
and everything would work.  Does anyone have an idea of how
to do that
conversion?

Thanks for any advice,

-- 
Bob Sullivan
Schenectady Digital History Archive
<http://www.sch
enectadyhistory.org/>
Schenectady County (NY) Public Library
_______________________________________________
Web4lib mailing list
Web4libwebjunction.org
http://lists.we
bjunction.org/web4lib/
[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )