DaWoody / Astronomy-Picture-Of-the-Day

A Wordpress plugin that fetches data from NASA's open API regarding the Astronomy Picture Of the Day to be used within posts/pages
3 stars 0 forks source link

Updating Plugin #2

Closed duplaja closed 2 years ago

duplaja commented 6 years ago

Hello!

I was wondering if you had any plans on updating this plugin a bit? I can see a few tweaks that might make it a bit more efficient. If not, I planned on spinning up my own version, for some learning, but wanted to drop you a line first at least.

1) Instead of pulling with JS, pull with wp_remote_get, and store as a transient (reduces to a set number of calls, even if you call every 2 hours or so, rather than once per visitor).

2) In addition to the shortcode, also build APOD as as drop-in Gutenberg Block.

I'll probably go forward with this for my own learning / experience, but wanted to drop you a line. Feel free to shoot me a message if you'd like to collaborate!

Thanks!

DaWoody commented 2 years ago

Hi m8, thanks for the comment, have not at all been checking in here regularly as you may have noticed 😆. Have not really had plans of updating the plugin to be honest, good suggestions though for some improvements 😃! Did you go forward and create your own plugin btw ? Have a good one, cheers!

duplaja commented 2 years ago

Hey, no worries! I did go ahead and create my own version of it... but then promptly left it to stagnate, so I haven't even tested it recently.

https://github.com/duplaja/Astronomy-Picture-of-the-Day-Revised

DaWoody commented 2 years ago

Cool man 😄! Glad you got to toy around yourself and made your own version! Yea I guess when I initially started it was also most because of having something fun to test around with, always good to have some kind of idea when learning and creating in general I think. Anyways thanks for the conversation, have a nice year! 😎