I am trying to create dynamic title and meta tag descriptions for my pages
that are called from a database. I'm really not sure how to go about this.
But I took a stab at it with this. Shot in the dark.

<title>Tutorials:<%=FP_FieldURL(fp_rs,"tutorialID")%></title>

Of course this did not work. Any suggestions? I guess I'll need to open my
db connection and all that. If someone could point me in the right
direction, it would be much appreciated.
Thanks...

Re: Dynamic Titles and Meta Descriptions by Chris

Chris
Tue Jan 25 10:28:27 CST 2005

you'd have to connect to the db and get that data before any other code in
the source of your page.

HTH

--
Chris Leeds,
Microsoft MVP-FrontPage

ContentSeed: great tool for web masters,
a fantastic convenience for site owners.
http://contentseed.com/
--
"weismana81" <weismana81@discussions.microsoft.com> wrote in message
news:9E9E848B-4053-4CCA-ABAC-B1671805FEB3@microsoft.com...
> I am trying to create dynamic title and meta tag descriptions for my pages
> that are called from a database. I'm really not sure how to go about
this.
> But I took a stab at it with this. Shot in the dark.
>
> <title>Tutorials:<%=FP_FieldURL(fp_rs,"tutorialID")%></title>
>
> Of course this did not work. Any suggestions? I guess I'll need to open
my
> db connection and all that. If someone could point me in the right
> direction, it would be much appreciated.
> Thanks...
>



Re: Dynamic Titles and Meta Descriptions by Kathleen

Kathleen
Tue Jan 25 14:29:53 CST 2005

Try this:

<% strTitle = Request("tutorialID")%>
<head>
<title>Employee number: <%=strTitle%></title>
</head>


--

~ Kathleen Anderson
Microsoft FrontPage MVP
Spider Web Woman Designs
http://www.spiderwebwoman.com/resources/



weismana81 <weismana81@discussions.microsoft.com> wrote:
> I am trying to create dynamic title and meta tag descriptions for my
> pages that are called from a database. I'm really not sure how to go
> about this. But I took a stab at it with this. Shot in the dark.
>
> <title>Tutorials:<%=FP_FieldURL(fp_rs,"tutorialID")%></title>
>
> Of course this did not work. Any suggestions? I guess I'll need to
> open my db connection and all that. If someone could point me in the
> right direction, it would be much appreciated.
> Thanks...

Re: Dynamic Titles and Meta Descriptions by Kathleen

Kathleen
Tue Jan 25 14:42:37 CST 2005

<% strTitle = Request("tutorialID")%>
<head>
<title>Tutorial: <%=strTitle%></title>
</head>

would probably be better :-)

--

~ Kathleen Anderson
Microsoft FrontPage MVP
Spider Web Woman Designs
http://www.spiderwebwoman.com/resources/



Kathleen Anderson [MVP - FrontPage] <spiderwebwoman@mvps.org> wrote:
> Try this:
>
> <% strTitle = Request("tutorialID")%>
> <head>
> <title>Employee number: <%=strTitle%></title>
> </head>
>
>
>
> weismana81 <weismana81@discussions.microsoft.com> wrote:
>> I am trying to create dynamic title and meta tag descriptions for my
>> pages that are called from a database. I'm really not sure how to go
>> about this. But I took a stab at it with this. Shot in the dark.
>>
>> <title>Tutorials:<%=FP_FieldURL(fp_rs,"tutorialID")%></title>
>>
>> Of course this did not work. Any suggestions? I guess I'll need to
>> open my db connection and all that. If someone could point me in the
>> right direction, it would be much appreciated.
>> Thanks...

Re: Dynamic Titles and Meta Descriptions by weismana81

weismana81
Tue Jan 25 15:03:09 CST 2005

Thanks! That did the job!!!
Would you by chance have any advice on creating the description tag. I
don't suppose it would look something like this?:

<% strDescription = Request("body1")%>
<head>
<meta name="description" content="<%=strDescription%>">
</head>

P.S. Employee... Tutorial... Whatever:-)

Thanks again.
"Kathleen Anderson [MVP - FrontPage]" wrote:

> <% strTitle = Request("tutorialID")%>
> <head>
> <title>Tutorial: <%=strTitle%></title>
> </head>
>
> would probably be better :-)
>
> --
>
> ~ Kathleen Anderson
> Microsoft FrontPage MVP
> Spider Web Woman Designs
> http://www.spiderwebwoman.com/resources/
>
>
>
> Kathleen Anderson [MVP - FrontPage] <spiderwebwoman@mvps.org> wrote:
> > Try this:
> >
> > <% strTitle = Request("tutorialID")%>
> > <head>
> > <title>Employee number: <%=strTitle%></title>
> > </head>
> >
> >
> >
> > weismana81 <weismana81@discussions.microsoft.com> wrote:
> >> I am trying to create dynamic title and meta tag descriptions for my
> >> pages that are called from a database. I'm really not sure how to go
> >> about this. But I took a stab at it with this. Shot in the dark.
> >>
> >> <title>Tutorials:<%=FP_FieldURL(fp_rs,"tutorialID")%></title>
> >>
> >> Of course this did not work. Any suggestions? I guess I'll need to
> >> open my db connection and all that. If someone could point me in the
> >> right direction, it would be much appreciated.
> >> Thanks...
>

Re: Dynamic Titles and Meta Descriptions by Stefan

Stefan
Wed Jan 26 03:29:23 CST 2005

Yes if body1 is the db field w/ the info and you have opened the DB connection to that table before you create the string

<%
strTitle = Request("tutorialID")
strDescription = Request("body1")
%>
<head>
<title>Tutorial: <%=strTitle%></title>

<meta name="description" content="<%=strDescription%>">
</head>


--

_____________________________________________
SBR @ ENJOY (-: [ Microsoft MVP - FrontPage ]
"Warning - Using the F1 Key will not break anything!" (-;
To find the best Newsgroup for FrontPage support see:
http://www.net-sites.com/sitebuilder/newsgroups.asp
_____________________________________________


"weismana81" <weismana81@discussions.microsoft.com> wrote in message news:BE2F32C3-5DE1-4708-95DE-23F31E5A2280@microsoft.com...
| Thanks! That did the job!!!
| Would you by chance have any advice on creating the description tag. I
| don't suppose it would look something like this?:
|
| <% strDescription = Request("body1")%>
| <head>
| <meta name="description" content="<%=strDescription%>">
| </head>
|
| P.S. Employee... Tutorial... Whatever:-)
|
| Thanks again.
| "Kathleen Anderson [MVP - FrontPage]" wrote:
|
| > <% strTitle = Request("tutorialID")%>
| > <head>
| > <title>Tutorial: <%=strTitle%></title>
| > </head>
| >
| > would probably be better :-)
| >
| > --
| >
| > ~ Kathleen Anderson
| > Microsoft FrontPage MVP
| > Spider Web Woman Designs
| > http://www.spiderwebwoman.com/resources/
| >
| >
| >
| > Kathleen Anderson [MVP - FrontPage] <spiderwebwoman@mvps.org> wrote:
| > > Try this:
| > >
| > > <% strTitle = Request("tutorialID")%>
| > > <head>
| > > <title>Employee number: <%=strTitle%></title>
| > > </head>
| > >
| > >
| > >
| > > weismana81 <weismana81@discussions.microsoft.com> wrote:
| > >> I am trying to create dynamic title and meta tag descriptions for my
| > >> pages that are called from a database. I'm really not sure how to go
| > >> about this. But I took a stab at it with this. Shot in the dark.
| > >>
| > >> <title>Tutorials:<%=FP_FieldURL(fp_rs,"tutorialID")%></title>
| > >>
| > >> Of course this did not work. Any suggestions? I guess I'll need to
| > >> open my db connection and all that. If someone could point me in the
| > >> right direction, it would be much appreciated.
| > >> Thanks...
| >