homepage Welcome to WebmasterWorld Guest from 54.161.185.244
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member
Home / Forums Index / Microsoft / Microsoft IIS Web Server and ASP.NET
Forum Library, Charter, Moderators: ocean10000

Microsoft IIS Web Server and ASP.NET Forum

    
Dumb aspx questions.
aspx questions..
john1000

5+ Year Member



 
Msg#: 3072600 posted 6:52 pm on Sep 5, 2006 (gmt 0)

Hi,

I kind off trying to help someone with his site.
i discovered that has nothing like metatags,keywords etc...
its just blank...

so the question...
do i edit his index.aspx or whatever it is like i would do with html or php?
So i just add keyword tags etc in it?
And can i put in image titles tags etc..

Any advice / help on this?

Thank you,

john

 

Easy_Coder

WebmasterWorld Senior Member 10+ Year Member



 
Msg#: 3072600 posted 7:35 pm on Sep 5, 2006 (gmt 0)

Mostly yes unless the ui is made up of bound controls. Are you seeing runat=server tags or DataGrids on the pieces that you'd like to update? If your're seeing runat=server tags then you'll need to go into the codebehind and see what's going on.

Too, if this is asp.net 2.0 there might be a master page template. That will be your UI wrapper.

[edited by: Easy_Coder at 7:35 pm (utc) on Sep. 5, 2006]

john1000

5+ Year Member



 
Msg#: 3072600 posted 7:48 pm on Sep 5, 2006 (gmt 0)

Thanks Easy_Coder,

Question...
so can you explain exactly where to look for ,as i promissed to help tomorrow..

This is what his source looks like now :

<html xmlns="http://www.w3.org/1999/xhtml"><!-- InstanceBegin template="/Templates/main.dwt" codeOutsideHTMLIsLocked="false" -->
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<!-- InstanceBeginEditable name="doctitle" -->
<title>Subrubrieken binnen de rubriek.</title>
<!-- InstanceEndEditable -->
<style type="text/css" media="screen">
@import url("/styles/hoofd.css");
</style>
<style type="text/css" media="print">
@import url("/styles/print.css");
</style>
<!-- InstanceBeginEditable name="head" --><!-- InstanceEndEditable --><!-- InstanceParam name="onload" type="text" value="" -->
</head>

and maybe a stupid question,although i never worked with asp,was it a good idea to let this website being created in aspx?

can it be combined with php or whatever?

Easy_Coder

WebmasterWorld Senior Member 10+ Year Member



 
Msg#: 3072600 posted 10:57 pm on Sep 5, 2006 (gmt 0)

It looks like dreamweaver was used and I'm a visual studio person myself. Perhaps a dreamweaver user can chime in and help us out here.

>>was it a good idea to let this website being created in aspx

I don't see why it wouldn't but I'm not really familier with the project or the skillsets of the programmers.

Here's the thing, many highly successful web applications are written in asp, php or .net so choose what you know best would be my advice to you.

john1000

5+ Year Member



 
Msg#: 3072600 posted 11:16 pm on Sep 5, 2006 (gmt 0)

Thanks Easy_Coder,

Well its not my site.
For some reason i dont like asp.
My host doesnt even support it,and he's know for wanting to deliver quality.
so i imagine there must be a reason for it.

Anyway...

I did find an online converter and one i have myself but they create it both different..

Like this...

#!/usr/bin/perl
print "Content-type: text/html\n\n";
$code[0] = "<META NAME=\"Title\" CONTENT=\"uyt\">";
$code[1] = "<META NAME=\"Author\" CONTENT=\"juyt\">";
$code[13] = "";
for ($i=0;$i<scalar(@code);$i++) {print($code[$i]."\n");}

(code 2 to 12 is taken out to keep this short)

The second one....

<%
Response.Write "<META NAME=""Title"" CONTENT=""rg"">" & vbCrLf
Response.Write "<META NAME=""Author"" CONTENT=""rgrgr"">" & vbCrLf
Response.Write "<META NAME=""Subject"" CONTENT=""greg"">" & vbCrLf
Response.Write "<META NAME=""Robots" CONTENT="All">" & vbCrLf
Response.Write ""
%>

See the difference?

So i do hope someone can help out...

john1000

5+ Year Member



 
Msg#: 3072600 posted 10:24 am on Sep 6, 2006 (gmt 0)

Any one?

vite_rts

5+ Year Member



 
Msg#: 3072600 posted 11:48 am on Sep 6, 2006 (gmt 0)

Hi

I think a number off things

1, The website was , probably, created using Frontpage 2003

2, it was , probably, made using dynamic web templates, see the .dwt extension

3, Usually dwt's provide a title editable space, you can generally simply insert html meta tags there

4, you must, absolutely must use frontpage 2003 or above to edit & publish/upload this website , because it almost certainly uses frontpage extensions, if you use anything else, you'll probably break it

Suggest you do some reading about frontpage/asp/vb.net cos you are mixing asp.net code with asp classic code in your posts an the 2 do not live happily together on the same page

Good luck, an note that the above info is just opinion an not advice, follow at your own ,,, risk

cheers

john1000

5+ Year Member



 
Msg#: 3072600 posted 12:03 pm on Sep 6, 2006 (gmt 0)

yes your probably right...
i just got access to the ftp and download a file called main.dwt

it shows the header stuff and seems i can put the metatags etc in there..?

vincevincevince

WebmasterWorld Senior Member vincevincevince us a WebmasterWorld Top Contributor of All Time 10+ Year Member



 
Msg#: 3072600 posted 12:14 pm on Sep 6, 2006 (gmt 0)

Yes, you can probably put metatags in there.
But...
... I suggest that the keywords etc. metatags are useless in the eyes of most search engines

vite_rts

5+ Year Member



 
Msg#: 3072600 posted 1:10 pm on Sep 6, 2006 (gmt 0)

John

you need to stop using ftp software to download or upload those files

If you don't have frontpage 2003, will you have to get it or maybe Visual Studio very latest edition

if you continue, you might break the frontpage extensions on the server, an that requires a call to the host an time to fix

john1000

5+ Year Member



 
Msg#: 3072600 posted 1:33 pm on Sep 6, 2006 (gmt 0)

yes i have frontpage..newest so it edits itself in frontpage...

rfontaine

10+ Year Member



 
Msg#: 3072600 posted 1:35 pm on Sep 6, 2006 (gmt 0)

arrrgggg Front Page!

john1000

5+ Year Member



 
Msg#: 3072600 posted 2:17 pm on Sep 6, 2006 (gmt 0)

mmm, any more help or feedback then aarrrggghhh would be appreciated..

vite_rts

5+ Year Member



 
Msg#: 3072600 posted 2:55 pm on Sep 6, 2006 (gmt 0)

hi john

looking at your code again, you can using frontpage on each individual webpage, not, the template, put meta tags in the bit below

<!-- InstanceBeginEditable name="doctitle" -->

ATTENTION JOHN PUT YOUR TAGS
<title>Subrubrieken binnen de rubriek.</title>
WITHIN THIS REGION USING FRONTPAGE2003, OR ELSE YOU MAY
BREAK THE WEBSITE

<!-- InstanceEndEditable -->

john1000

5+ Year Member



 
Msg#: 3072600 posted 3:48 pm on Sep 6, 2006 (gmt 0)

ok...but what page is usualy used as index page when a site runs on asp?
I mean what name does it get?
I expected an index but there isnt any..

vite_rts

5+ Year Member



 
Msg#: 3072600 posted 4:21 pm on Sep 6, 2006 (gmt 0)

default.aspx

john1000

5+ Year Member



 
Msg#: 3072600 posted 4:48 pm on Sep 6, 2006 (gmt 0)

huh..
i only see a detailtext.ascx
and doersnt look at all like an index...not one line cannot be recognised as being part of it..

john1000

5+ Year Member



 
Msg#: 3072600 posted 6:05 pm on Sep 6, 2006 (gmt 0)

any one please....
getting desperate by now....

john1000

5+ Year Member



 
Msg#: 3072600 posted 7:11 pm on Sep 6, 2006 (gmt 0)

its ok guys...
i worked it out...
asp isnt my favorite....

everybody thanks for the help :)

deepraj

5+ Year Member



 
Msg#: 3072600 posted 7:20 am on Sep 18, 2006 (gmt 0)

Can u share with us, how u have worked it out?

john1000

5+ Year Member



 
Msg#: 3072600 posted 8:26 pm on Oct 3, 2006 (gmt 0)

hello,

yes i did.....
for some reason i never get mail replies from this forum,although i should get them...weird..

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Microsoft / Microsoft IIS Web Server and ASP.NET
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved