473,221 Members | 1,955 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,221 software developers and data experts.

how do you guys accomplish this

I am tyring to find the site, but I am seeing more and more web sites with
the really long html names and also nicely broken down by category that sits
on a related directory and/or subdomain on the server.

so like:
a white kenmore gasrange would be:
http://forthekitchen.someappliancest...ite-fridge.asp

and the model number and title combined into one page name.
are these page names generated before hand? wow!!

How is this done?
I assume for starters it is on a windows system with asp obiously, but how
to accomplish.
Jul 19 '05 #1
4 1229
look on www.aspfaq.com for info on a Custom 404 Page.
That's what I do to get short URLs

--
Curt Christianson
Owner/Lead Developer, DF-Software
Site: http://www.Darkfalz.com
Blog: http://blog.Darkfalz.com
"Danny" <da********@hotmail.com> wrote in message
news:P_*********************@news4.srv.hcvlny.cv.n et...
I am tyring to find the site, but I am seeing more and more web sites with
the really long html names and also nicely broken down by category that sits on a related directory and/or subdomain on the server.

so like:
a white kenmore gasrange would be:
http://forthekitchen.someappliancest...ite-fridge.asp
and the model number and title combined into one page name.
are these page names generated before hand? wow!!

How is this done?
I assume for starters it is on a windows system with asp obiously, but how
to accomplish.

Jul 19 '05 #2
In addition to using a 404 page and parse the URL to determine what product
to display dynamically, the pages COULD be created beforehand to generate
static content (much less taxing on a system). Whenever the admin interface
makes a change to a particular product, it updates the "static" page --
which only needs to be static between updates.

I use this technique for my RSS XML feed, and also toyed with generating
static .HTM files (one for each article).

--
Aaron Bertrand
SQL Server MVP
http://www.aspfaq.com/


"Danny" <da********@hotmail.com> wrote in message
news:P_*********************@news4.srv.hcvlny.cv.n et...
I am tyring to find the site, but I am seeing more and more web sites with
the really long html names and also nicely broken down by category that sits on a related directory and/or subdomain on the server.

so like:
a white kenmore gasrange would be:
http://forthekitchen.someappliancest...ite-fridge.asp
and the model number and title combined into one page name.
are these page names generated before hand? wow!!

How is this done?
I assume for starters it is on a windows system with asp obiously, but how
to accomplish.

Jul 19 '05 #3
Danny wrote:
I am tyring to find the site, but I am seeing more and more web sites
with
the really long html names and also nicely broken down by category
that sits
on a related directory and/or subdomain on the server.

so like:
a white kenmore gasrange would be:
http://forthekitchen.someappliancest...ite-fridge.asp
and the model number and title combined into one page name.
are these page names generated before hand? wow!!

How is this done?
I assume for starters it is on a windows system with asp obiously,
but how
to accomplish.


I do not think these names are being generated on the fly. I think the
designers actually created a separate asp page for each of their products,
using the naming convention to identify them.

I suppose the possibility exists that they generated the names of pages that
do not exist and used a custom 404 page to parse the names to cause the
resulting page to display the product described, but I doubt it.

Bob Barrows
--
Microsoft MVP -- ASP/ASP.NET
Please reply to the newsgroup. The email account listed in my From
header is my spam trap, so I don't check it very often. You will get a
quicker response by posting to the newsgroup.
Jul 19 '05 #4
> I do not think these names are being generated on the fly. I think the
designers actually created a separate asp page for each of their products,
using the naming convention to identify them.


I think it's plausible that it was a combination of manual/on the fly.
Consider a normalized schema where each unique product has exactly one row
in a view, it would be trivial to write a "page generator" that created a
page (folder/page name based on specific properties) with the page content
from the view; one page per product.

An admin page could be constructed to either (a) rebuild the entire set of
pages, or (b) take a specific product ID and rebuild just that one.
Sometime I should show you the ASPFAQ admin interface; one of the tasks the
final save page has when updating/adding an article is that the RSS XML file
is rebuilt (rather than have that page generated on the fly when it is
requested, it is static until it needs to change). At one point it also
built a static HTML file for just that article, but I ditched that feature.

This wouldn't necessarily have to be done by ASP either, but this is useful
if you want to handle the updates on demand along with the other updates.
If you want to schedule it (e.g. build all the pages once a day,
incorporating the day's changes), you could use something else (e.g. C#).
Jul 19 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

6
by: echo01 | last post by:
Hey when do you guys think 5.0 will be stable or considered stable. i think the are up to 5.0.2?
2
by: flamesrock | last post by:
Certain web applications, everything from wget to downloader for X has this nifty feature I'd like to accomplish in python. Its the progress bar/time elapsed/time remaining scheme Filename |...
6
by: Alex Pet | last post by:
Hi, Please, consider me your friend. and think about the following. This also apply to all the groups, not only where I post the message. Before you reply to any of the question in the news...
92
by: Jeffrey P via AccessMonster.com | last post by:
Our IT guys are on a vendetta against MS Access (and Lotus Notes but they've won that fight). What I can't understand is, what's the problem? Why does IT hate MS Access so much. I have tried...
17
by: DaveG | last post by:
Hi all I am planning on writing a stock and accounts program for the family business, I understand this is likely to take close to 2 years to accomplish. The stock is likely to run into over a...
4
by: python | last post by:
in python , could I accomplish the purpose that "a=Console.read()" used in C? when program is running, I wanna add a statement like "a=Console.read()" in C language,it will wait for user's input,...
1
by: skygenn | last post by:
hi guys im new at c++ program and im 1st year taking up I.T our prof in c++ gave us an assignments but she didnt even explain us how to begin doing it? honestly i have no idea how to begin it...
1
isladogs
by: isladogs | last post by:
The next online meeting of the Access Europe User Group will be on Wednesday 6 Dec 2023 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, Mike...
0
by: VivesProcSPL | last post by:
Obviously, one of the original purposes of SQL is to make data query processing easy. The language uses many English-like terms and syntax in an effort to make it easy to learn, particularly for...
3
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 3 Jan 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). For other local times, please check World Time Buddy In...
0
by: jianzs | last post by:
Introduction Cloud-native applications are conventionally identified as those designed and nurtured on cloud infrastructure. Such applications, rooted in cloud technologies, skillfully benefit from...
0
by: abbasky | last post by:
### Vandf component communication method one: data sharing ​ Vandf components can achieve data exchange through data sharing, state sharing, events, and other methods. Vandf's data exchange method...
2
by: jimatqsi | last post by:
The boss wants the word "CONFIDENTIAL" overlaying certain reports. He wants it large, slanted across the page, on every page, very light gray, outlined letters, not block letters. I thought Word Art...
2
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 7 Feb 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:30 (7.30PM). In this month's session, the creator of the excellent VBE...
1
by: davi5007 | last post by:
Hi, Basically, I am trying to automate a field named TraceabilityNo into a web page from an access form. I've got the serial held in the variable strSearchString. How can I get this into the...
0
by: MeoLessi9 | last post by:
I have VirtualBox installed on Windows 11 and now I would like to install Kali on a virtual machine. However, on the official website, I see two options: "Installer images" and "Virtual machines"....

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.