From e04abca769a2c305c0f9f1bda9bdbde56c348ed3 Mon Sep 17 00:00:00 2001 From: topkecleon Date: Thu, 14 Jan 2016 15:49:37 -0500 Subject: [PATCH] apod.lua: now uses HD links --- README.md | 4 ++-- plugins/apod.lua | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 87060a8..8f36d97 100755 --- a/README.md +++ b/README.md @@ -94,7 +94,7 @@ Where the key is the preconfigured response (where #NAME will be replaced with t ##Setup You **must** have Lua (5.2+), LuaSocket, and LuaSec installed. For uploading photos and other files, you must have curl installed. The fortune.lua plugin requires that fortune is installed. -For weather.lua, lastfm.lua, and bible.lua to work, you must have API keys for [OpenWeatherMap](http://openweathermap.org), [last.fm](http://last.fm), and [Biblia.com](http://biblia.com), respectively. cats.lua uses an API key (via [The Cat API](http://thecatapi.com)) to get more results, though it is not required. apod.lua uses an API key (via [NASA API](https://api.nasa.gov/)) to have more queries per minute, but it can be used with a demo API key (DEMO_KEY). +For weather.lua, lastfm.lua, and bible.lua to work, you must have API keys for [OpenWeatherMap](http://openweathermap.org), [last.fm](http://last.fm), and [Biblia.com](http://biblia.com), respectively. cats.lua uses an API key (via [The Cat API](http://thecatapi.com)) to get more results, though it is not required. apod.lua uses an API key (via [NASA API](https://api.nasa.gov/)) to have more queries per minute, though it is not required. **Before you do anything, open config.lua in a text editor and make the following changes:** @@ -146,5 +146,5 @@ otouto uses dkjson, a pure-Lua JSON parser. This is provided with the code and d ##Contributors The creator and maintainer of otouto is [topkecleon](http://github.com/topkecleon). He can be contacted via [Telegram](http://telegram.me/topkecleon), [Twitter](http://twitter.com/topkecleon), or [email](mailto:topkecleon@outlook.com). -Other developers who have contributed to otouto are [Juan Potato](http://github.com/JuanPotato), [Tiago Danin](http://github.com/TiagoDanin), [Ender](http://github.com/luksireiku), [Iman Daneshi](http://github.com/Imandaneshi) and [HeitorPB](https://github.com/heitorPB). +Other developers who have contributed to otouto are [Juan Potato](http://github.com/JuanPotato), [Tiago Danin](http://github.com/TiagoDanin), [Ender](http://github.com/luksireiku), [Iman Daneshi](http://github.com/Imandaneshi), and [HeitorPB](https://github.com/heitorPB). diff --git a/plugins/apod.lua b/plugins/apod.lua index 0319ca9..b558c91 100755 --- a/plugins/apod.lua +++ b/plugins/apod.lua @@ -46,7 +46,7 @@ local action = function(msg) --local weburl = 'http://apod.nasa.gov/apod/ap' .. date_url .. '.html' --output = date .. '[' .. jdat.title .. '](' .. weburl .. ')\n' - output = date .. '[' .. jdat.title .. '](' .. jdat.url .. ')\n' + output = date .. '[' .. jdat.title .. '](' .. jdat.hdurl .. ')\n' if jdat.copyright then output = output .. 'Copyright: ' .. jdat.copyright