Comments (6)
Thanks a lot for the message, @lucamp !
Looks like NG hasn't updated its RSS feed (which the app uses as source) since that date:
http://feeds.nationalgeographic.com/ng/photography/photo-of-the-day/
This happened already once before for some days, until they fixed this server-side issue. However, it seems that this time they revamped their entire web presence including an overhauled site and relying on social media like Facebook and Instagram, giving me doubt that they will provide an "old fashioned" RSS feed again.
In that case, I'd have to check if I could parse the site, instead. But what I've seen up to now that looks very hard.
from muzei-nationalgeographic.
I see what you mean and I found:
http://www.nationalgeographic.com/photography/photo-of-the-day points always to the latest photo of the day
If I visit that page and open firefox's page info (CTRL+I) there are some interesting fields:
og:image = link that point directly to the picture to download
og:title = photo's title
Photo's full description is only in the page content
Unfortunately I am not able to go far than this as I do not know javascript
Luca
from muzei-nationalgeographic.
Yes, it is indeed relatively simple to get the current photo of the day. However, displaying a random one seems much harder. But maybe the current photo is already the main purpose this Muzei plugin is used and I could reduce the functionality to that.
Good thinking, thanks! I will reflect on that.
from muzei-nationalgeographic.
Sure, the main goal of your program is to have the latest photo of the day.
But if you are wiling to put effort in the random mode maybe there is a
way to have it working.
NG for muzei saves a single copy of the photo of the day inside a
folder, as soon as the folder is populated the program picks up a random
one. The folder must not grow to big, so let it say only the latest 30
photos remain saved and the other are automatically removed.
According to "National Geographic Terms of Service" this will not
infringe it:
http://www.nationalgeographic.com/community/terms/ section "
Intellectual Property Issues" paragraph
Pursuant to the copyright and trademark laws of the United States, /you
agree/:
- That you may only download Content that National Geographic
designates as offered for download to any single computer a single
copy of any Content for personal and noncommercial use.
Luca
On 16/09/16 15:38, msal wrote:
Yes, it is indeed relatively simple to get the current photo of the
day. However, displaying a random one seems much harder. But maybe the
current photo is already the main purpose this Muzei plugin is used
and I could reduce the functionality to that.Good thinking, thanks! I will reflect on that.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
#3 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/AOYTxbNHCtawTD89Pj8yg5Js03aJvEZdks5qqpvhgaJpZM4J98gH.
from muzei-nationalgeographic.
Fixed with 319fbe1
from muzei-nationalgeographic.
Stiil waiting for the updated version to be released on F-droid, hope it do not take them too much.
Meanwhile, thanks for your efforts.
Luca
from muzei-nationalgeographic.
Related Issues (14)
- Yahoo pipes has been discontinued
- Photo information from last picture HOT 2
- once in a while photo stuck HOT 1
- Italian translation HOT 1
- Photo of the day stuck at July 3 HOT 21
- photo of the day no longer working HOT 1
- API no lonver available HOT 2
- Typo HOT 1
- Typo HOT 1
- Android 12: Crash after latest update HOT 4
- Android 5+ support HOT 6
- App dowloaded not openable HOT 1
- Doesn't pull any images HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from muzei-nationalgeographic.