NewsAPI changed their requirements, and API calls as submitted in this module now need a UserAgent string in the header. Added that here. Also added visible error messages so user will see a problem is occurring and be able to easily troubleshoot. Error messages will appear below the AnyNews Presents title. Some comments added and a couple other minimal edits to comments or other stuff for clarity.
NewsAPI changed their requirements, and API calls as submitted in this module now need a UserAgent string in the header. Added that here. Also added visible error messages so user will see a problem is occurring and be able to easily troubleshoot. Error messages will appear below the AnyNews Presents title. Some comments added and a couple other minimal edits to comments or other stuff for clarity.