Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > HTML > Redirect? Or maybe Forward? Question

Reply
Thread Tools

Redirect? Or maybe Forward? Question

 
 
Flair
Guest
Posts: n/a
 
      02-04-2007
Not sure exactly what to ask, so I'll give the scenario instead;

I have a personal website with a media.htm page in it. None contain "foul"
language at this time. But I've recently come across a few that I'd like to
upload that I think are funny but DO contain "naughty" words. What I'd like
to do is give my visitors another chance to opt-out should they change their
minds after clicking (the already well-explained) link. So my question is
this .... Is there a way I can create a SINGLE "warning, foul language
ahead" page that will send the visitor to the correct media file if there is
more than one link to that type of thing on my media.htm page?

Kinda like an "IF/THEN" type of thing. In other words, I'd like to have the
warning page display for about 5 seconds before it loads the video, but I
don't want to have to make a different warning page for each individual
"R-Rated" audio or video file. The SAME warning page would "know" what file
to direct you to by knowing what link you clicked on from my media.htm page.

Sorry. I'm a newb, and I didn't know how else to ask, or what the heck I'm
really even asking for. Seems to me it can be done using javascript,
but I'd like to avoid that if possible.

Thanks


 
Reply With Quote
 
 
 
 
Adrienne Boswell
Guest
Posts: n/a
 
      02-04-2007
Gazing into my crystal ball I observed "Flair" <(E-Mail Removed)> writing
in news:(E-Mail Removed):

> Not sure exactly what to ask, so I'll give the scenario instead;
>
> I have a personal website with a media.htm page in it. None contain
> "foul" language at this time. But I've recently come across a few
> that I'd like to upload that I think are funny but DO contain
> "naughty" words. What I'd like to do is give my visitors another
> chance to opt-out should they change their minds after clicking (the
> already well-explained) link. So my question is this .... Is there a
> way I can create a SINGLE "warning, foul language ahead" page that
> will send the visitor to the correct media file if there is more than
> one link to that type of thing on my media.htm page?


Yes, create a gateway page. You could have thumbnails of the movies on
the page, with a rating of each, so the user would know before accessing
it. For example:
<p><img src="marypoppins.png" alt="Mary Poppins"><br>Mary Poppins (1964)
- G </p>
<p><img src="caligular.png" alt="Caligula"><br>Calligula (1979) - R</p>

>
> Kinda like an "IF/THEN" type of thing. In other words, I'd like to
> have the warning page display for about 5 seconds before it loads the
> video, but I don't want to have to make a different warning page for
> each individual "R-Rated" audio or video file. The SAME warning page
> would "know" what file to direct you to by knowing what link you
> clicked on from my media.htm page.


You could do something server side with a database. For example:
SELECT video, rating FROM movies WHERE id = 2 and then create a warning
based on the record's result.

>
> Sorry. I'm a newb, and I didn't know how else to ask, or what the
> heck I'm really even asking for. Seems to me it can be done
> using javascript, but I'd like to avoid that if possible.
>

I would say that javascript might be a really bad idea, simply because
you cannot always guarantee that the user has it.

You can use ICRA labeling <http://www.icra.org/sitelabel/> in addition.
Programs like NetNanny can read the labeling and make decisions from
there.

--
Adrienne Boswell at Home
Arbpen Web Site Design Services
http://www.cavalcade-of-coding.info
Please respond to the group so others can share

 
Reply With Quote
 
 
 
 
Flair
Guest
Posts: n/a
 
      02-04-2007
Adrienne Boswell wrote:

> Gazing into my crystal ball I observed "Flair" <(E-Mail Removed)>
> writing in news:(E-Mail Removed):
>
>> Not sure exactly what to ask, so I'll give the scenario instead;
>>
>> I have a personal website with a media.htm page in it. None contain
>> "foul" language at this time. But I've recently come across a few
>> that I'd like to upload that I think are funny but DO contain
>> "naughty" words. What I'd like to do is give my visitors another
>> chance to opt-out should they change their minds after clicking (the
>> already well-explained) link. So my question is this .... Is there a
>> way I can create a SINGLE "warning, foul language ahead" page that
>> will send the visitor to the correct media file if there is more than
>> one link to that type of thing on my media.htm page?

>
> Yes, create a gateway page. You could have thumbnails of the movies
> on the page, with a rating of each, so the user would know before
> accessing it. For example:
> <p><img src="marypoppins.png" alt="Mary Poppins"><br>Mary Poppins
> (1964) - G </p>
> <p><img src="caligular.png" alt="Caligula"><br>Calligula (1979) -
> R</p>


That's how I do it on my (already exisiting) "media.htm" page. I give a
breif description of the file, and assign it a rating of "G", "PG", etc.
Currently I don't have any "R" but I'm thinking of adding some, hence my
request. I'm just looking to offer ONE MORE chance for the visitor to
cancel before the audio/video loads.
>
>>
>> Kinda like an "IF/THEN" type of thing. In other words, I'd like to
>> have the warning page display for about 5 seconds before it loads the
>> video, but I don't want to have to make a different warning page for
>> each individual "R-Rated" audio or video file. The SAME warning page
>> would "know" what file to direct you to by knowing what link you
>> clicked on from my media.htm page.

>
> You could do something server side with a database. For example:
> SELECT video, rating FROM movies WHERE id = 2 and then create a
> warning based on the record's result.


Too much of a newb to even understand that. I'll Google "server side
database"
>
>>
>> Sorry. I'm a newb, and I didn't know how else to ask, or what the
>> heck I'm really even asking for. Seems to me it can be done
>> using javascript, but I'd like to avoid that if possible.
>>

> I would say that javascript might be a really bad idea, simply because
> you cannot always guarantee that the user has it.


Which is why I'm shying away from it.
>
> You can use ICRA labeling <http://www.icra.org/sitelabel/> in
> addition. Programs like NetNanny can read the labeling and make
> decisions from there.


That's another thought I already had. But I've discussed doing this with my
web host, and they inform me that if I use "due diligence" as far as warning
people about what they are about to see/hear, it's OK with them so long as
there's nothing illegal going on like warez or kiddie porn. And that's what
I'm trying to accomplish. I don't want someone to come to my site and
accidently click on a link they don't really wanna see/hear. That's why I
though about the "Warning" page. Not only does it give them a second chance
to cancel, it also covers ME in the event that a parent walks in on his/her
child while playing an audio file with the "F" word in it. If they have to
click TWICE to see/hear it, I think that's due diligence on my part.

I guess it's not a big deal if I have to make a seperate "warning" page to
link to different media files using HTML though. It's really only a matter
of creating the one template, and then just changing the links. Still, I'd
have to remember to upload the seperate warning page for each "questionable"
media file I upload, which is what I was trying to avoid if possible.

Thanks for the repy.


 
Reply With Quote
 
Beauregard T. Shagnasty
Guest
Posts: n/a
 
      02-04-2007
Flair wrote:

> Adrienne Boswell wrote:
>> Yes, create a gateway page. You could have thumbnails of the movies
>> on the page, with a rating of each, so the user would know before
>> accessing it. For example:
>> <p><img src="marypoppins.png" alt="Mary Poppins"><br>Mary Poppins
>> (1964) - G </p>
>> <p><img src="caligular.png" alt="Caligula"><br>Calligula (1979) -
>> R</p>

>
> That's how I do it on my (already exisiting) "media.htm" page. I give
> a breif description of the file, and assign it a rating of "G", "PG",
> etc. Currently I don't have any "R" but I'm thinking of adding some,
> hence my request. I'm just looking to offer ONE MORE chance for the
> visitor to cancel before the audio/video loads.


So set up the links from the thumbnails (Adrienne didn't add any in the
sample above) to go to a second gateway page if the rating is R.

<p><a href="media-r.html?mov=caligula&rate=R"<img src="calligula.png"
alt="Caligula"><br>Caligula (1979) - R</a></p>

media-r.html:

"WHOA BUCKAROO! Are you SURE you wanna watch this PORN?"
<form> [ Yes ] [ No ] </form>

...then if Yes, proceed to the video.

If this is programmed out of a database, look for the R and write the
special intermediate link.

--
-bts
-Motorcycles defy gravity; cars just suck
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Maybe it will; maybe it won't iL_weReo Computer Support 7 10-13-2009 08:42 AM
Trying to learn VB.net easy question, maybe Mike ASP .Net 1 02-10-2005 11:50 PM
Of Intrest ? Maybe Yes, Maybe No Old Gringo Computer Support 0 10-11-2004 01:35 AM
Maybe, just maybe @decorator syntax is ok after all Ville Vainio Python 11 08-10-2004 06:01 PM
Some concepts (Maybe LOL maybe not...) C++ 5 08-18-2003 05:48 PM



Advertisments