Click here to get back home

Is there an equivalent of META REFRESH in PDF?

 HomeNewsGroups | Search | About
 comp.infosystems.www.authoring.html    Post an article   get this group's latest topics as an RSS feed add this group's latest topics to your My MSN content add this group's latest topics to your My Yahoo content
Subject Author Date
Is there an equivalent of META REFRESH in PDF? Dobedani 10-19-2007
Posted by Dobedani on October 19, 2007, 3:50 am
Please log in for more thread options
5:50 pm on Oct. 18, 2007 (utc 0)

Hi there,
In HTML, we have the following:
<META HTTP-EQUIV="REFRESH" CONTENT="5; URL=http://www.mysite.com/
mypage.htm">

Can be practical, e.g. if you don't want to do much scripting on the
serverside. I need this because the PDF files on one of my sites had
to be given different names, but it is important that references /
citations outside on the web to those PDF files will not cause 404
errors!

Does anyone know of an equivalent of this in PDF? And if there is an
equivalent: how do I create a PDF that redirects esp. the Adobe plug-
in automatically to another URL? TIA

Kind regards,
Dobedani


Posted by Lars Eighner on October 19, 2007, 7:07 am
Please log in for more thread options
In our last episode,
talented Dobedani broadcast on comp.infosystems.www.authoring.html:

> 5:50 pm on Oct. 18, 2007 (utc 0)

> Hi there,
> In HTML, we have the following:
><META HTTP-EQUIV="REFRESH" CONTENT="5; URL=http://www.mysite.com/
> mypage.htm">

> Can be practical, e.g.

Nonsense.

> if you don't want to do much scripting on the
> serverside.

Scripting has nothing to do with it.

> I need this because the PDF files on one of my sites had
> to be given different names, but it is important that references /
> citations outside on the web to those PDF files will not cause 404
> errors!

> Does anyone know of an equivalent of this in PDF? And if there is an
> equivalent: how do I create a PDF that redirects esp. the Adobe plug-
> in automatically to another URL? TIA

Find out what server you are using and do correct redirections on it
(usually with .htaccess in Apache and a number of commercial servers)
or create filesystem links (see man ln for unix-like systems).

--
Lars Eighner <http://larseighner.com/> <http://myspace.com/larseighner>
Countdown: 459 days to go.
What do you do when you're debranded?

Posted by Harlan Messinger on October 19, 2007, 8:24 am
Please log in for more thread options
Dobedani wrote:
> 5:50 pm on Oct. 18, 2007 (utc 0)
>
> Hi there,
> In HTML, we have the following:
> <META HTTP-EQUIV="REFRESH" CONTENT="5; URL=http://www.mysite.com/
> mypage.htm">
>
> Can be practical, e.g. if you don't want to do much scripting on the
> serverside. I need this because the PDF files on one of my sites had
> to be given different names, but it is important that references /
> citations outside on the web to those PDF files will not cause 404
> errors!

This isn't even a good way to do it with Web pages. If you can't
configure what you need in your web server (IIS, AFAIK, won't let you
set up redirections for individual files) then it take only one line of
server-side script--a simple redirection. Or you might make it two
lines--one to set the 301 status code for a permanent redirection, one
to set the URL of the replacement resource.

>
> Does anyone know of an equivalent of this in PDF?

There's no such thing.

Posted by André Gillibert on October 20, 2007, 5:42 am
Please log in for more thread options
Dobedani wrote:

> 5:50 pm on Oct. 18, 2007 (utc 0)
>
> Hi there,
> In HTML, we have the following:
> <META HTTP-EQUIV="REFRESH" CONTENT="5; URL=http://www.mysite.com/
> mypage.htm">
>

Don't use that!
Use a HTTP 301 Permanently moved redirect.
http://www.w3.org/QA/Tips/reback
http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html#sec10.3
Google shows how to do it with any popular server.
http://www.google.com/search?q=HTTP+301

--
If you've a question that doesn't belong to Usenet, contact me at

Similar ThreadsPosted
base tag has no effect over November 2, 2004, 3:00 am
equivalent for EMBED tag? August 29, 2005, 1:17 am
windows equivalent to /etc/hosts March 26, 2008, 12:56 pm
Windows equivalent of BBEdit's "Gentle Hierarchical" formatting option? September 15, 2005, 3:14 pm
JPG needs refresh button to appear September 13, 2004, 4:21 pm
JPG needs refresh button to appear September 13, 2004, 4:21 pm
dead images after refresh August 23, 2004, 1:06 pm
Opera doesn't refresh IFrame August 8, 2006, 9:52 am
Website needs refresh to change May 15, 2007, 10:06 am
subwindow - refresh parent July 23, 2007, 2:56 am

Our other projects:

Art Dolls, Fairies and Mermaids - Sunnyfaces.net

Roy's Linux, Programming and Search Engines messages

1-Script XML SitemapXML Sitemap