Closed heitorPB closed 8 years ago
Something I will look at at a later date. In my view, apod.lua works fine as it is now. There are no bugs, the output is elegant, and there's no need to post the low-res photos unless the high-res isn't available (which it does). As for adding the caption, I would recommend implementing this alongside the default output rather than having a separate command. See the output of xkcd.lua, which is similar in design.
"and there's no need to post the low-res photos unless the high-res isn't available (which it does)." Actually, there is one reason for that: sometimes, the high res photo is different. Look at the images from 2016-01-15: HD: http://apod.nasa.gov/apod/image/1601/colorized_wright_mons_cropped.jpg no-HD: http://apod.nasa.gov/apod/image/1601/01142016_WrightMonsVolcano_Context1024c.jpg
As for the caption, for the same date is "Informally named Wright Mons, a broad mountain about 150 kilometers across and 4 kilometers high with a wide, deep summit depression is featured in this inset image captured during the New Horizons flyby of Pluto in July 2015. Of course, broad mountains with summit craters are found elsewhere in the Solar System, like the large shield volcano Mauna Loa on planet Earth or giant Olympus Mons on Mars. New Horizons scientists note the striking similarity of Pluto's Wright Mons, and nearby Piccard Mons, to large shield volcanoes suggests the two could be giant cryovolcanoes that once erupted molten ice from the interior of the cold, distant world. In fact, found on a frozen dwarf planet Wright Mons could be the largest volcano in the outer Solar System. Since only one impact crater has been identified on its slopes, Wright Mons may well have been active late in Pluto's history. This highest resolution color image also reveals red material sparsely scattered around the region." As you can see, it is a bit long. It is not fair to compare with XKCD's alt text, because the alt text is not long. In my cellphone, this APOD explanation fills more than one screen. That's why a separete command.
new commands: /apod /apodhd /apodtext