1 johnatemps 17-Jan-2004 10:04 | Hi!
I want to update this code, but the header library words 'type and
'platform are not valid for the submission script...
So, I post here.
REBOL [
Title: "National Geographic Image of the Day Downloader"
Date: 17-Jan-2004
Version: 1.1.0
File: %ngbg.r
Library: [
level: 'intermediate
platform: 'all
type: [demo tool]
tested-under: win
]
History: [
21-Sep-2001 "1.0.0 - First script - Ian Monroe"
17-Jan-2004 "1.1.0 - Url updated - Charles Mougel"
]
Author: "Ian Monroe"
Purpose: {Downloads the current picture of the day from nationalgeographic.com
and
saves it to a location of your choice. Directions: Change the 'filename'
in the source to the location of your choice.
The agrument -s causes it to be silent and so not print what step
it is
at. These directions can be seen by adding a -h agrument.
}
Email: ul303seyj001@sneakemail.com
Web: http://mlug.missouri.edu/~eean/projects.php
library: [
level: 'intermediate
platform: none
type: none
domain: [markup text-processing web]
tested-under: none
support: none
license: none
see-also: none
]
]
filename: %ngbg.jpg ; change to wanted location
PrintStuff: true
if system/script/args == "-s"
[ PrintStuff: false ]
if system/script/args == "-h"
[
print "Downloads the current picture of the day from nationalgeographic.com
and saves it to a location of your choice."
print "Change the 'filename' variable in the source to the location
of your choice."
print "The agrument -s causes it to be silent and not print what
step it is at."
quit
]
if PrintStuff
[ prin "Downloading National Geographic wallpaper.cgi web page..."
]
ngwebsite: http://magma.nationalgeographic.com/cgi-bin/pod/wallpaper.cgi
page: read ngwebsite
if PrintStuff
[ print " Done." ]
parse page [thru "/pod/pictures/lg_wallpaper/" copy NameOfJpg to
"^">"]
;old code
; imageloc: join http://magma.nationalgeographic.com/pod/pictures/lg_wallpaper/
NameOfJpg
;updated code 17/01/2004
imageloc: join http://lava.nationalgeographic.com/pod/pictures/lg_wallpaper/
NameOfJpg
;end updated code 17/01/2004
if PrintStuff
[
prin "Downloading "
prin imageloc
print " ..."
]
image: read/binary imageloc
write/binary filename image
if PrintStuff
[ prin filename
print " saved" ] |
|
2 sunanda 17-Jan-2004 11:11 | Hi johnatempsLooks to me like there are two problems here: - There are two library headers -- delete the one you don't want
- You weren't the owner of this script. So you couldn't update it (but see below).
I'm not entitrely sure what we should do with unowned scripts, so I am about to make up an instant policy: - If a script has an owner, I'd prefer you to talk to them about changes to it -- they may accept your suggestions, or make you a joint owner so you can both change the script.
- But that doesn't apply in this case, as the orginal owner has not come forward to claim the script.
- Given that it has been orphaned for over six months, it seems reasoanble to me to give ownership to someone who wants to improve or correct it -- like creating a foster parent.
If the original owner does drop by later, we can: - give them ownership too -- a sort of shared parenting
- Revert the script back to them (we archive all contributions so we can roll changes back if they want that.)
I've given you ownership. You should now be able to update this script. Sorry for the earlier problems, Sunanda. |
|
3 johnatemps 29-Jan-2004 22:21 | Thanks !
And rebol.org is a really good work ! |
|
4 ronaldoff 2-Feb-2004 20:49 | Hi,
Using this url makes it possible to select the Picture of one specific
date :
ngwebsite: to-url rejoin ["http://lava.nationalgeographic.com/cgi-bin/pod/wallpaper.cgi?day=" now/day "&month=" now/month "&year=" now/year - 2000]
Bye |
|
5 leke 14-Apr-2004 7:03 | HI ALL,
Does Rebol have an equivalent to HTML <hr> ?
Thanks. |
|
6 stefanlober 15-May-2007 23:46 | The old url does not work for me. I changed two addresses:
ngwebsite: http://lava.nationalgeographic.com/cgi-bin/pod/PhotoOfTheDay.cgi
imageloc: join http://lava.nationalgeographic.com/pod/pictures/lg_wallpaper/
NameOfJpg
and it works again
Stefan |
|
7 miyaka22 23-May-2021 8:29 | |
|
8 wernereegran 13-Jun-2021 2:36 |
|
I finally found an interesting topics about this "script ngbg.r" command. I am having a hard time using this command on the software because it always ended up as an error which I cannot fix and that is annoying. I hope to see more interesting topic from you in the future. click here to read more...about the latest version of june journey game for pc downloadand see why this game is so popular to streamers right now.
Contents:
|
|
MakeDoc2 by REBOL- 13-Jun-2021
|
|
|
9 namboru 27-Sep-2021 23:43 | Jasa SEO terbaik untuk Google Indonesia https://seohandal.id |
|
10 glpadilla 4-Oct-2021 4:11 Edited: glpadilla 4-Oct-2021 4:12 | |
|
11 glpadilla 4-Oct-2021 4:12 |
|
I'm still a novice when it comes to ngbg.r. I just hope I could learn something more about it here. Thank you for sharing and please check out the link below and reach out to the best Auckland commercial cleaners if you have commercial cleaning needs.
Contents:
https://www.aucklandcommercialcleaning.nz/
|
|
MakeDoc2 by REBOL- 4-Oct-2021
|
|
|
12 getfused 27-Oct-2021 2:00 Edited: getfused 27-Oct-2021 2:01 | I've seen a tutorial on youtube explaining how this code works but up to now I still get the hang of it. Anyway, thank you for posting this, and if ever you need an electrician in Greenwith or Golden Grove, please opt for Get Fused or see this link https://getfusedelectrical.com.au/greenwith-golden-grove/for more info. |
|
13 aricjoshua 11-Nov-2021 1:29 Edited: aricjoshua 11-Nov-2021 1:30 | Hi! you can refer to cookie clicker this is an outstanding online game with simple game texture but still gives users great entertainment moments. Join and experience on available web browsers. https://www.commonlounge.com/discussion/8783b3aae9054b299c963bf7870844e4/main http://www.stemarts.com/lanl/los-alamos-stem-challenge-faq/smart-loyal-dog-breed-becige-german#id0FJAwKwcKl_o5-SMbhR5yw https://fireland.aliv.us/read-blog/2467 |
|
14 mark214 20-Nov-2021 19:18 | |
|
15 patrickrall 28-Jun-2022 12:45 | This is very educational content and written well for a change. It's nice to see that some people still understand how to write a quality post. https://www.tucodigopromocional.net/tienda/codigo-descuento-agapea/ |
|
16 richardsjenk 17-Aug-2022 0:37 |
|
You’ll also have peace of mind knowing that your vehicle is safe for operation. The key to keeping your commercial truck suspension in top condition is regular mobile vehicle repairs.
Contents:
Suspension Repair salt lake city
|
|
MakeDoc2 by REBOL- 17-Aug-2022
|
|
|
17 crutcherhuyn 16-Sep-2022 8:18 | |
|
18 anthonyscott 25-Oct-2022 3:27 |
|
I really liked your article , your article is very petrified me in the learning process and provide additional knowledge to me , maybe I can learn more from you, I will wait for your next article, thanks. appliance repair mt vernon
Contents:
|
|
MakeDoc2 by REBOL- 25-Oct-2022
|
|
|
19 mandiripinja 5-Dec-2022 7:51 | pinjaman dana jaminan bpkb mobil cepat hanya 1 hari bisa langsung cair dengan suku bunga rendah serta tanpa survey dan bpkb mobil aman untuk seluruh wilayah indonesia. https://www.justgiving.com/fundraising/mandiripinjamandana https://ameblo.jp/mandiripinjamandana/entry-12680765607.html https://ameblo.jp/mandiripinjamandana/entry-12680767540.html https://ameblo.jp/mandiripinjamandana/entry-12680769727.html https://ameblo.jp/mandiripinjamandana/entry-12680770493.html https://ameblo.jp/mandiripinjamandana/entry-12680771364.html https://ameblo.jp/mandiripinjamandana/entry-12680785558.html https://ameblo.jp/mandiripinjamandana/entry-12680786359.html https://ameblo.jp/mandiripinjamandana/entry-12680787122.html https://ameblo.jp/mandiripinjamandana/entry-12680787855.html https://ameblo.jp/mandiripinjamandana/entry-12680788647.html https://ameblo.jp/mandiripinjamandana/entry-12680789550.html https://ameblo.jp/mandiripinjamandana/entry-12680790188.html https://ameblo.jp/mandiripinjamandana/entry-12680790735.html https://ameblo.jp/mandiripinjamandana/entry-12680791419.html https://ameblo.jp/mandiripinjamandana/entry-12680792163.html https://ameblo.jp/mandiripinjamandana/entry-12680792608.html https://ameblo.jp/mandiripinjamandana/entry-12680793459.html https://ameblo.jp/mandiripinjamandana/entry-12680793916.html https://ameblo.jp/mandiripinjamandana/entry-12680794272.html https://ameblo.jp/mandiripinjamandana/entry-12680794619.html https://ameblo.jp/mandiripinjamandana/entry-12680794959.html https://ameblo.jp/mandiripinjamandana/entry-12680795284.html https://ameblo.jp/mandiripinjamandana/entry-12680795637.html |
|
20 crutcherhuyn 20-Dec-2022 22:41 |
|
if you find yourself stuck on the side of the road someday soon (or even far into the future), don’t panic–just give us a call and we’ll be there to help you out fast.
Contents:
https://calexicotruckrepair.com
|
|
MakeDoc2 by REBOL- 20-Dec-2022
|
|
|
21 johnsjvi95 13-Mar-2023 7:08 | |
|
22 crutcherhuyn 13-Mar-2023 17:37 | |
|
23 angel17 3-Oct 8:19 | What an awesome post. Thanks for sharing this one! screened in patio Zephyrhills FL |
|