Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

HTML

pull content from another website and showing it on my website the way i want

so, i want to make a feed of new apps in the appstore that are now free, so, how can i get the data (there is a list of apps that updates everydyay) from another website and then assemble the list on my website? i want it to update everyday

1 Answer

Well if the site you're wanting data from doesn't offer an api, than you're left doing it a more manual way. You either have to scrape the data from the site that has it, or parse something like a rss feed if available.

You could try using an rss feed like so: https://rss.itunes.apple.com/us/?urlDesc=%2Fgenerator

Us a cron job to get a new copy every 24 hours, and parse the data to display on your site. You could also just straight up build a web scraper to harvest the data from the app store page as well.