Please take our Survey
logo       

Choosing A Webhost:
A web hosting service is a type of Internet hosting service that allows individuals and organizations to provide their own website accessible via the World Wide Web. Web hosts are companies that provide space on a server they own for use by their clients as well as providing Internet connectivity, typically in a data center. Web hosts can also provide data center space and connectivity to the Internet for servers they do not own to be located in their data center, called colocation. more...

--reject problem OR dumb operator (me) problem?: msg#00011

web.wget.general

Subject: --reject problem OR dumb operator (me) problem?

Hi,


I am using wget to mirror a site. In all pages of this site there is a calendar that provides links for the rest of the site (this site carries some news selections for the day).

The point is, I want it to bring only today news. I have a link that points me to them, except for one IFRAME that carries a calendar which gives me access to all other dates.

I tried to supress the download of the calendar using the --reject option with:

/usr/local/bin/wget --recursive --no-host-directories --reject calendar.htm http://my.host/default.htm?date=20030107

When I use this, wget won't save the "calendar.htm" file. During mirroring I get a message like "calendar.htm retrieved but not saved because it was rejected". Well, I don't like the idea of retrieving a file I don't want but I can live with that. What is really being a problem is the fact that because wget retrieves "calendar.htm", it is followong the links inside it which point to all other dates.

How can I make wget completly ignore a file? Or am I thinking it all wrong and the solution for my problem is somewhere else?


TIA,

Rodrigo Severo





<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

Recently Viewed:
user-groups.jax...    php.zend.framew...    os.solaris.open...    web.quixote.use...    java.openjdk.ho...    ietf.secmech/20...    gnu.glpk/2004-0...    recreation.cars...    network.smokepi...    linux.drivers.i...    cms.opencms.dev...    fonts.gfontview...    text.xml.soap.u...    voip.nist-sip/2...    debian.ports.hp...    xfree86.interna...    science.biology...    qnx.openqnx.dev...    mail.sylpheed.c...    busybox/bios/20...    emulators.kvm.s...    hardware.openco...    apple.fink.begi...    kde.german/2006...   
Home | advertise | OSDir is an inevitable website. super tiny logo

Free Magazines

Cisco News
Receive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business.
subscribe

Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field.
subscribe

The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business.
subscribe

Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company.
subscribe

Total Telecom Total Telecom is "The Economist of the communications industry".
subscribe

Navigation