You are hereHome ›
Wavelength has a powerful index offering rich search and discovery of professionally vetted educational materials created by NASA. Wavelength’s uses a simple and widely adopted standard, Atom, to make its search and discovery services available for:
- Notifications and updates of new content, through custom filtered and selected feeds. You can use these Feeds with any Feed reader or many mobile apps.
- Augmenting your own website with content organized by Wavelength. You can use Wavelength Feeds to automatically add continually updating links of vetted educational content to your blog, or other content-management system.
- Simple Feed Reading Code Snippet
- Keyword Search Code Snippet
- Atom Feed Metadata Documentation (Appendix)
The World Wide Web represents one of the most profound developments in information sharing since the origins of writing. In the past 25 years, it has radically transformed communication in all walks of life. Nasawavelength project strives to use important principles of Web architecture to allow the broadest community to build upon Wavelength and its services.
Wavelength has two APIs (application program interfaces) that enable third parties to access to search and query results. These APIs respond to search requests in:
- Atom Syndication Format
In this document, we describe how to use the open and standards-based APIs (Atom feeds and JSON services) to bring up-to-date and relevant NASA content organized and indexed by Wavelength into any Web-site.
Website Creators: Why Use Wavelength APIs?
Wavelength has APIs that allow its rich index to flow freely across the Web, into different services, and into special apps on a mobile device. Many people prefer using tablets (like an iPad or Android device) to browse and read content of interest. Wavelength’s Atom feeds can be consumed by popular mobile apps like Flipboard, which can display the educational materials organized and vetted by Wavelength in a magazine like format.
In addition, the Web has a rich ecosystem of services that use Atom Feeds to help users keep up to date with new information. Wavelength’s Atom Feeds can be used with popular feed aggregator services like Feedly, which will automatically notify users of new content that matches their customized search preferences from Wavelength.
Website Creators: Why Use Wavelength APIs? (Part 2)
Wavelength maintains a rich and growing index of NASA educational and public outreach materials. Wavelength digital librarians have classified these materials according to their intended audience, their subject matters, curriculum standards, and much more. Moreover, Wavelength’s index continually grows. Wavelength’s APIs help share up-to-date search and discovery services for these materials.
Here are some ways you can use Wavelength APIs to augment your own website:
- Highlight professionally curated and described content published by your organization.
- Supplement your content with vetted and relevant content published by other NASA units
- Encourage user engagement by highlighting custom-defined feeds of content
Wavelength’s Atom API
Atom is a popular XML format used by many Websites, especially blogs, to syndicate content. Just as standardized shipping containers revolutionized international trade, Atom acts as a standard container to make it easy to package and share items of content across the Web. Wavelength uses Atom to share search and query results using this widely understood and widely supported format.
Wavelength provides a URL to the Atom representation of all search results. For instance, one can search Wavelength for resources appropriate for “Informal Education” about “Stars, Nebulae, and Galaxies”. The URL for this search is as follows:
The Web page showing those search results also provides a link to the Atom feed expression of the same results:
The Atom representation includes information useful for third-parties in using and navigating the search results. Essentially, Atom provides a widely understood standard for sharing lists of resources, along with some useful metadata (descriptive information) about those resources. Wavelength Atom feeds have information describing the entire set of search results and information describing each individual resource found in a search. For more details about the information in the Wavelength Atom feeds, click here [link to Atom Feed Metadata Documentation].
Putting Wavelength Atom Feeds in Your Website
|Server-side (your server gets and processes Atom feeds from Wavelength)||
Most content popular content management systems (Wordpress, Drupal, etc.) already have many, many Atom-feed plugins that can be used to add Wavelength’s Atom feeds to your website.Disadvantage:
It takes time for the server at your website to fetch the Atom feed data from Wavelength. This will make your website slower. To mitigate this problem, your server should periodically cache the Atom feed data locally, so it doesn’t have to wait for data from the Wavelength server.Resources:
Wavelength generates Atom feeds because Atom is a very widely supported standard. Here are some links to widgets and plugins you can use to incorporate Wavelength content into your websites:
Playgrounds to Help in Using Atom Feeds
- Google Feed API playground (https://code.google.com/apis/ajax/playground/#load_feed)
Wavelength JSON Services