Caltech Library logo

Sample, Examples and formats

Each repository provides content retrievable by content type. In CaltechAUTHORS you have content such as articles, books, book sections, conference proceedings. In CaltechTHESIS you have thesis and dissertations and in CaltechDATA you have datasets and software source code.

On this site we aggregate content by Caltech people and groups. We provide the same general level of formats and content feeds for each person and group on the site. This usually includes descriptive information (e.g. a short bio for a person, the description of a group or their active dates). We then link to feeds for each repository system.

Additionally this site provides Caltech wide “recent” list for content deposited in CaltechAUTHORS and CaltechDATA. All lists are sorted by publication date with most recent publication date first. “recent” lists are capped at 25 entries. In the people and groups directories you’ll find full lists as well.

Example content

How to select a different format of feed?

Selecting another format, https://feeds.library.caltech.edu/recent/article.html becomes …

But what format should I work with?

While this site provides six different formats to work with which one depends on your purpose, tools and skills available. For building websites JSON is the most flexible and complete representation of our content. Using HTML include is probably the easiest to use though it is harder to modify (e.g. CSS is straight forward but using regular expressions to modify the content is trickier). For tracking changes and updates in a news aggregator an RSS feed is convenient. If you’re using a Citation manager BibTeX is a good choice. If you want to use a people page as a starting point for a document then Markdown is a likely choice. The examples in this website focus on JavaScript and JSON for the most part. Since the feeds are available as JSON documents you should be able to use the content from most modern programming languages.

Sample code

Below are links to JavaScript/HTML sample code useful for integrating feeds.library.caltech.edu content in your website.

These techniques can be applied across all our feeds including recent, groups as well as people feeds.