Giter Club home page Giter Club logo

neatlinetime's Introduction

NeatlineTime plugin for Omeka

Build Status

The NeatlineTime plugin, by the Scholars' Lab at the University of Virginia Library, allows you to create timelines for the Omeka publishing platform. It uses the SIMILE Timeline plugin.

Installation

  1. Upload the 'NeatlineTime' plugin directory to your Omeka installation's 'plugins' directory. See Installing a Plugin.

  2. Activate the plugin from the Admin → Settings → Plugins page.

  3. Configure the plugin to choose which fields you want the plugin to use on the timeline.

    • Item Date: The field you would like to use for item dates on the timeline. The default is DC:Date.
    • Item Title: The field you would like displayed for the item's title in its information bubble. The default is DC:Title
    • Item Description: The field you would like displayed for the item's description in its information bubble. The default is DC:Description.

Usage

Once installed, NeatlineTime will add a tab to the Omeka admin panel. From here, you can browse existing timelines, and add, edit, and delete timelines.

Uninstalling the plugin will only remove timelines added to your Omeka archive, not any items displayed on those timelines.

Add a Timeline

Creating a timeline is a two-step process:

  1. From the admin → NeatlineTime page, click the "Add New Timeline" button to begin creating a timeline.

Browse Timelines

  1. Give your timeline a title and description, and choose whether you wish to make the timeline public and featured. Save your changes.

Add a Timeline Form

  1. To choose which items appear on your timeline, click the "Edit Query" link beside your existing timeline.

Edit Query Link

  1. This will take you to a form similar to Omeka's advanced search form. From here, you can perform a search for any items in your archive, and if those items contain a valid date in their Dublin Core:Date field, they will be displayed on the timeline.

Edit Query

  1. With a query defined, the matching items will be rendered on the timeline:

Timeline

Dates for Items

NeatlineTime will attempt to convert the value for a date string into an ISO-8601 date format. Some example date values you can use:

  • January 1, 2012
  • 2012-01-01
  • 1 Jan 2012
  • 2012-12-15

To denote spans of time, separate the start and end date with a '/':

  • January 1, 2012/February 1, 2012

NeatlineTime doesn't accept just years (1066, for example) because it's not clear what that means. Should that translate to the range January 1, 1066/December 31, 1066? Should it be January 1, 1066? June 31, 1066? Instead of us picking an arbitrary point in the year or marking the entire year, we simply ask that you be more specific.

NeatlineTime handles dates with years shorter than 4 digits. For these you'll need to pad the years with enough zeros to make them have four digits. For example, 476 should be written 0476.

Also, you can enter in years before common era by putting a negative sign before the year. If the date has less than four digits, you'll also need to add extra zeros.

So here are some more examples of dates.

  • 0200-01-01
  • 0002-01-01
  • -0002-01-01
  • -2013-01-01

Browsing timelines

You can browse existing timelines by clicking on the "Browse Timelines" from your public theme, or the "NeatlineTime" tab in the admin panel.

Viewing specific timelines

You can always see your timeline by click the title of the timeline in the admin. The URL for your timelines will be 'neatline-time/timelines/show/[id]', where [id] is the ID number for your timeline.

Public Show

Modifying theme templates for Neatline Time

Neatline Time contains theme templates that control how its various pages are displayed in your public theme. As with other Omeka plugins, you can override these using the instructions on the Theming Plugin Pages codex page.

The template files available in NeatlineTime include:

  • timelines/browse.php - The template for browsing existing timelines.
  • timelines/show.php - The template for showing a specific timeline.

Contributing to the Project

Feedback

We rely on the Github issues tracker for feedback on issues and improvements.

Patches/Pull Requests

  • Fork the project.
  • Make your feature addition or bug fix.
  • Add tests for it, and make sure all the tests pass. This is important so we don't unknowingly break your changes in a future release. If you're fixing a bug, it helps us to verify that your bug does in fact exist. Both NeatlineTime and Omeka use PHPUnit to ensure the quality of the software.
  • Commit your changes to your own fork.
  • Send us a pull request, with a clear explanation of the changes. Bonus points for topic branches.

Credits

Translations

  • Martin Liebeskind (German)
  • Gillian Price (Spanish)
  • Oguljan Reyimbaeva (Russian)
  • Katina Rogers (French)

Copyright

Copyright (c) 2010–2012 The Board and Visitors of the University of Virginia. See LICENSE for more information.

neatlinetime's People

Contributors

csbailey5t avatar davidmcclure avatar erochest avatar jeremyboggs avatar nedhenry avatar zerocrates avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

neatlinetime's Issues

Filter items with dates for neatlinetime-json output

The neatlinetime-json output current includes any items that match the query, regardless of whether the item's DC:Date field is filled out. The plugin should filter the items_browse_sql to only return items with a completed Date field, in addition to any of the other parameters selected.

Make timelines for other record types

Omeka 2.0 includes Dublin Core metadata for Collections, including the DC:Date field. We should consider whether to make timelines from collection records and other kinds of records.

Migrate Items added through old Timeline plugin

The older Timeline plugin let users create an Omeka Item with the Timeline item type, and then associate a tag to that timeline, to pull in items with that tag.

We should add some kind of migration, to covert any items of the type Timeline into NeatlineTime Timeline records. This would involve moving the following data:

  • DC:Title (NeatlineTimeTimeline->title)
  • DC:Description (NeatlineTimeTimeline->description)
  • ItemTypeMetadata:Tag (NeatlineTimeTimeline->query as serialized array)
  • Creator ID (NeatlineTimeTimeline->creator_id)
  • Date added
  • Public
  • Featured

'date_modified' would be set to whenever the migration took place, perhaps.

Should also possibly provide an option to delete any Items from the Timeline plugin after the migration.

UI to customize Timeline design

Create a user interface to customize design of the timeline to better match the selected public theme. Make this global for all timelines, and modifiable for specific timelines.

Properties to customize:

  • Height of timeline (in px)
  • Top band color (color picker)
  • Bottom band color (color picker)
  • Top band interval (select)
  • Bottom band interval (select)
  • item icon (select, reads dir in theme-name/neatline-time/images/icons and plugins/NeatlineTime/views/shared/images/icons)

Parse dc.date

dc.date needs to be in a specific format for NeatlineTime to accept. Need to attach to the field a js parser to "help" users enter a correct timestamp. See moment_js branch for inclusion of http://momentjs.com/. Date follow http://www.w3.org/TR/NOTE-datetime with spans separated by '/' character. Basically is ISO 8601,

Examples:

  • Closed date range: 1949/1954-01-01
  • Date range with unknown start: /2012-01-04T19:49:39
  • Date range with kno end date: 1977-06-03/

Do we need to do anything on the backend differently for SIMILE? May need to mask this a bit if there are differences between the dc.date format and Timeline format.

'develop' branch tries to load missing 'neatline_timeline.js'

Line 198 of NeatlineTimeFunctions.php has:

$headScript->appendFile(src('neatline_timeline.js', 'javascripts'));

but this fails for me because there is no 'neatline_timeline.js' file. Commenting out (or removing) the $headScript line lets the page load and it seems to work okay (to my newbie's eye).

Date parsing depends on the locale

Parsing dates depends on the locale. With an English locale or empty locale set in application/config/config.ini, "1963-01-08" parses as August 1, 1963 instead of January 8, 1963.

With a Spanish or French locale, it parses that date as Jan 8, 1963.

Date parsing should try to use ISO 8601 and then fall back on the more relaxed parsing algorithms.

i18n-ify

Internationalize the plugin:

  • Wrap strings in Omeka's __() function.
  • Ensure the Simile Timeline script get the locale specified in Omeka
  • Check that date outputs use specified locale.

Table breaks for different user levels

When doing permission checks for individual items on the timelines/browse, the table breaks if the authenticated user does not have permission to edit a given timeline.

Add options for setting interval size for each band

The intervals for timeline bands should be options the user can set for each timeline. This would require adding a database column and saving these options to the NeatlineTimeTimeline record. It would also require updating NeatlineTime::loadTimeline in neatline-time-scripts.js to accept those options as arguments.

Bottom pointer image too far from info bubble #UGH #NOMEGUSTA

The pointer image included in Neatline Time is only about 20px tall. However, the CSS in SIMILE for displaying this pointer is 100px tall, and positions the background image at the bottom of the container. Thus, the pointer is positioned ridiculously far from the bubble. See the splendid screenshot:

screen shot 2013-10-07 at 6 26 02 pm

Solutions are as follows:

  1. Create a new image that's 100px tall, and put the pointer at the top of the image. This is how SIMILE works by default.
  2. Add custom CSS to set the height and position of the pointer to only what's necessary for the pointer image.

Stop serializing the query on every save

The model is set up so that every time a NeatlineTime record gets saved, the value for the query gets serialized. This means it even serializes an already-serialized value, thus making the query invalid for retrieving items. This is Jeremy's fault, and he should fix this nonsense.

Add NeatlineTime element set

Add a NeatlineTime element set that can, among other possibilities, allow users to specify a date that NeatlineTime can understand based on the value of the DC:Date field, while still allowing any value in DC:Date.

Potential fields in this set:

  • Date - with a start and end point.
  • DatePrecision - Take David's solution from Neatline Exhibit for signifying date precision.
  • Icon - Could allow user to specify a particular icon for this item on the timeline. Could be a select menu reading the contents of 'neatline-time/images/icons', or something similar.

jqueryui missing

admin/neatline-time/timelines/show/ throws an exception for a dependency on javascripts:

exception 'Exception' with message 'Could not find file 'javascripts/timeglider/js/jquery-ui-1.8.9.custom.min.js'!' in /Applications/MAMP/htdocs/omeka-1.4.1/application/helpers/AssetFunctions.php:246
Stack trace:
#0 /Applications/MAMP/htdocs/omeka-1.4.1/application/helpers/AssetFunctions.php(206): web_path_to('javascripts/tim...')
#1 /Applications/MAMP/htdocs/omeka-1.4.1/application/helpers/AssetFunctions.php(33): src('timeglider/js/j...', 'javascripts', 'js')
#2 /Users/wsg4w/projects/NeatlineProjects/NeatlineTime/helpers/NeatlineTimeFunctions.php(426): queue_js('timeglider/js/j...')
#3 /Users/wsg4w/projects/NeatlineProjects/NeatlineTime/views/admin/timelines/show.php(14): queue_timeline_assets()
#4 /Applications/MAMP/htdocs/omeka-1.4.1/application/libraries/Omeka/View.php(114): include('/Users/wsg4w/pr...')
#5 /Applications/MAMP/htdocs/omeka-1.4.1/application/libraries/Zend/View/Abstract.php(888): Omeka_View->_run('/Applications/M...')
#6 /Applications/MAMP/htdocs/omeka-1.4.1/application/libraries/Zend/Controller/Action/Helper/ViewRenderer.php(897): Zend_View_Abstract->render('timelines/show....')
#7 /Applications/MAMP/htdocs/omeka-1.4.1/application/libraries/Zend/Controller/Action/Helper/ViewRenderer.php(918): Zend_Controller_Action_Helper_ViewRenderer->renderScript('timelines/show....', NULL)
#8 /Applications/MAMP/htdocs/omeka-1.4.1/application/libraries/Zend/Controller/Action/Helper/ViewRenderer.php(957): Zend_Controller_Action_Helper_ViewRenderer->render()
#9 /Applications/MAMP/htdocs/omeka-1.4.1/application/libraries/Zend/Controller/Action/HelperBroker.php(277): Zend_Controller_Action_Helper_ViewRenderer->postDispatch()
#10 /Applications/MAMP/htdocs/omeka-1.4.1/application/libraries/Zend/Controller/Action.php(523): Zend_Controller_Action_HelperBroker->notifyPostDispatch()
#11 /Applications/MAMP/htdocs/omeka-1.4.1/application/libraries/Zend/Controller/Dispatcher/Standard.php(295): Zend_Controller_Action->dispatch('showAction')
#12 /Applications/MAMP/htdocs/omeka-1.4.1/application/libraries/Zend/Controller/Front.php(954): Zend_Controller_Dispatcher_Standard->dispatch(Object(Zend_Controller_Request_Http), Object(Zend_Controller_Response_Http))
#13 /Applications/MAMP/htdocs/omeka-1.4.1/application/libraries/Zend/Application/Bootstrap/Bootstrap.php(97): Zend_Controller_Front->dispatch()
#14 /Applications/MAMP/htdocs/omeka-1.4.1/application/libraries/Zend/Application.php(366): Zend_Application_Bootstrap_Bootstrap->run()
#15 /Applications/MAMP/htdocs/omeka-1.4.1/application/libraries/Omeka/Core.php(166): Zend_Application->run()
#16 /Applications/MAMP/htdocs/omeka-1.4.1/admin/index.php(45): Omeka_Core->run()
#17 {main}

Update README

Update README to reflect changes in how NeatlineTime now works. Include:

  • Instructions for adding/editing/populating a timeline.
  • Changing styles for timelines.
  • Overriding plugin views.
  • List of helper functions.

Create interface for adding/editing/removing items and events from a timeline

Create a user interface for adding, editing, and removing items/events from a specific timeline. Specifically:

  • Find and select an Item from the Omeka archive to display. Should use the advanced search to narrow down items, and should automatically narrow down items with a valid DublinCore:Date field.
  • Add any kind of non-Item event, with Title, Description, StartDate, and EndDate fields.

UI should likely toggle between choosing an existing item, or adding a stand-alone event. Should gracefully degrade if JavaScript is unavailable.

Neatline time and Exhibits

Hi Jeremy,

Follow up with my question:
I believe this is a bug, but I will let you know the steps I follow to produce it.
1- Create 4 items, dates are in order:
item 1: 1980-05-12
item 2: 1980-01-01/1980-12-31
item 3: 1980-04-17
item 4: 1980-01-01/1980-12-31

Then create an exhibit, add those 4 items to the exhibit.
go to Neatline time tab, add a new time line, and in search query, search by the exhibit you created.

You will see no items will show up. Even if you try to go and edit the query again, you will see the exhibit you select is not showing up.

Here is the information you requested:
I am using Omeka, 1.5
Neatline time version 1.1.1
Theme thanks, Roy
Exhibit builder 1.2

and a link to my site at http://nancymou.www.lib.umich.edu/online-exhibits/neatline-time/timelines/show/1

Thanks for the help
Nancy

Better theme for timeline

Add a nicer theme for the timeline. Provide some instructions for how to create CSS for custom theme.

Years less than 4 digits not parsed correctly

Years with less than 4 digits (i.e. "-135-01-01/-131-01-01") in them are not being parsed, and records containing those kinds of dates are being ignored. Tried padding with zeros according to ISO-8601 guidelines and still doesn't work.

Allow multiple fields for dates

There are plenty of places in an item's metadata that can store dates. Additionally, the Dublin Core Extended plugin adds a variety of more granular date fields, all of which could be used to display an item on the timeline. Seems useful to add some way for users to choose multiple fields for Neatline Time to read for dates.

At its simplest, this could involve providing a way to do multiple selects for the Date field in the plugin options panel.

Add buttons for zooming timeline

Users can currently zoom a timeline with their mouse wheel, but it would be more intuitive to add some buttons or other UI elements to zoom a timeline.

Initial viewport is off

Given the input data below, the timeline starts off viewing 1872.

{
    "events": [
        {
            "image": "http://neatline.dev/archive/square_thumbnails/4cf823b4a96ec709c42193f9abcceb9f.jpg",
            "description": "Yellowstone National Park, established by the U.S. Congress and signed into law by President Ulysses S. Grant on March 1, 1872, is a national park located primarily in the U.S. state of Wyoming, although it also extends into Montana and Idaho. Yellowstone, widely held to be the first national park in the world, is known for its wildlife and its many geothermal features, especially Old Faithful Geyser, one of the most popular features in the park. It has many types of ecosystems, but the subalpine forest is dominant.<br />\nNative Americans have lived in the Yellowstone region for at least 11,000 years. The region was bypassed during the Lewis and Clark Expedition in the early 19th century. Aside from visits by mountain men during the early-to-mid-19th century, organized exploration did not begin until the late 1860s. The U.S. Army was commissioned to oversee the park just after its establishment. In 1917, administration of the park was transferred to the National Park Service, which had been created the previous year. Hundreds of structures have been built and are protected for their architectural and historical significance, and researchers have examined more than 1,000 archaeological",
            "link": "http://neatline.dev/items/show/8",
            "title": "Yellowstone National Park",
            "start": "1969-12-31T16:00:00-08:00"
        },
        {
            "image": "http://neatline.dev/archive/square_thumbnails/9e89f1a5f0a8760a4356b02095c8156e.jpg",
            "description": "Sequoia National Park is a national park in the southern Sierra Nevada east of Visalia, California, in the United States. It was established on September 25, 1890. The park spans 404,063 acres (631.35 sq mi; 1,635.18 km). Encompassing a vertical relief of nearly 13,000 feet (4,000 m), the park contains among its natural resources the highest point in the contiguous 48 United States, Mount Whitney, at 14,505 feet (4,421 m) above sea level. The park is south of and contiguous with Kings Canyon National Park; the two are administered by the National Park Service together.<br />\nThe park is famous for its giant sequoia trees, including the General Sherman tree, one of the largest trees on Earth. The General Sherman tree grows in the Giant Forest, which contains five out of the ten largest trees in the world. The Giant Forest is connected by the Generals Highway to Kings Canyon National Park&#039;s General Grant Grove, home to the General Grant tree among other giant sequoias. The park&#039;s giant sequoia forests are part of 202,430 acres (81,921 ha) of old-growth forests shared by Sequoia and Kings Canyon National Parks. Indeed, the parks preserve a landscape that still resembles the southern Sierra",
            "link": "http://neatline.dev/items/show/3",
            "title": "Sequoia National Park",
            "start": "1969-12-31T16:00:00-08:00"
        },
        {
            "image": "http://neatline.dev/archive/square_thumbnails/f7987c1d4636de78ccbddcfa70903daa.jpg",
            "description": "Yosemite National Park ( /joʊˈsɛmɨtiː/ yoh-SEM-it-ee) is a United States National Park spanning eastern portions of Tuolumne, Mariposa and Madera counties in northeastern California, United States. The park covers an area of 761,268 acres (3,080.74 km) and reaches across the western slopes of the Sierra Nevada mountain chain. Over 3.7 million people visit Yosemite each year: most spend their time in the seven square miles (18 km) of Yosemite Valley. Designated a World Heritage Site in 1984, Yosemite is internationally recognized for its spectacular granite cliffs, waterfalls, clear streams, Giant Sequoia groves, and biological diversity. Almost 95% of the park is designated wilderness. Although not the first designated national park, Yosemite was central to the development of the national park idea, largely owing to the work of people like Galen Clark and John Muir.<br />\nYosemite is one of the largest and least fragmented habitat blocks in the Sierra Nevada, and the park supports a diversity of plants and animals. The park has an elevation range from 2,127 to 13,114 feet (648 to 3,997 m) and contains five major vegetation zones: chaparral/oak woodland, lower montane forest, upper",
            "link": "http://neatline.dev/items/show/4",
            "title": "Yosemite National Park",
            "start": "1969-12-31T16:00:00-08:00"
        },
        {
            "image": "http://neatline.dev/archive/square_thumbnails/9e5a3c63b857de29addfd67bf2d25c7b.jpg",
            "description": "Mount Rainier National Park is a United States National Park located in southeast Pierce County and northeast Lewis County in Washington state. It was one of the US&#039;s earliest National Parks, having been established on March 2, 1899 as the fifth national park in the United States. The park encompasses 236,381 acres (369.35 sq mi; 956.60 km) including all of Mount Rainier, a 14,410-foot (4,390 m) stratovolcano. The mountain rises abruptly from the surrounding land with elevations in the park ranging from 1,600 feet (490 m) to over 14,000 feet (4,300 m). The highest point in the Cascade Range, around it are valleys, waterfalls, subalpine wildflower meadows, old growth forest and more than 25 glaciers. The volcano is often shrouded in clouds that dump enormous amounts of rain and snow on the peak every year and hide it from the crowds that head to the park on weekends.<br />\nMount Rainier is circled by the Wonderland Trail and is covered by several glaciers and snowfields totaling some 35 square miles (91 km). Carbon Glacier is the largest glacier by volume in the continental United States, while Emmons Glacier is the largest glacier by area. About 1.8 million people visit Mount Rainier",
            "link": "http://neatline.dev/items/show/35",
            "title": "Mount Rainier National Park",
            "start": "1969-12-31T16:00:00-08:00"
        },
        {
            "image": "http://neatline.dev/archive/square_thumbnails/538dd0ad9feebaaebe33e75d1c230636.jpg",
            "description": "Crater Lake National Park is a United States National Park located in southern Oregon. Established in 1902, Crater Lake National Park is the fifth oldest national park in the United States and the only one in the state of Oregon. The park encompasses the caldera of Crater Lake, a remnant of a destroyed volcano, Mount Mazama, and the surrounding hills and forests.<br />\nThe lake is 1,943 feet (592 m) deep at its deepest point, which makes it the deepest lake in the United States, the second deepest in North America and the ninth deepest in the world. Crater Lake is often referred to as the seventh deepest lake in the world, but this former listing excludes the approximately 3,000-foot (910 m) depth of subglacial Lake Vostok in Antarctica, which resides under nearly 13,000 feet (4,000 m) of ice, and the recent report of a 2,740-foot (840 m) maximum depth for Lake O&#039;Higgins/San Martin, located on the border of Chile and Argentina. However, when comparing its average depth of 1,148 feet (350 m) to the average depth of other deep lakes, Crater Lake becomes the deepest in the Western Hemisphere and the third deepest in the world. The impressive average depth of this volcanic lake is due to the",
            "link": "http://neatline.dev/items/show/21",
            "title": "Crater Lake National Park",
            "start": "1902-05-22T00:00:00-08:00"
        },
        {
            "image": "http://neatline.dev/archive/square_thumbnails/a7abd17a9a62de96c3294116a5b2ae94.jpg",
            "description": "Wind Cave National Park is a United States national park 10 miles (16 km) north of the town of Hot Springs in western South Dakota. Established in 1903 by President Theodore Roosevelt, it was the seventh U.S. National Park and the first cave to be designated a national park anywhere in the world. The cave is notable for its displays of the calcite formation known as boxwork. Approximately 95 percent of the world&#039;s discovered boxwork formations are found in Wind Cave. Wind Cave is also known for its frostwork. The cave is also considered a three-dimensional maze cave, recognized as the densest (most passage volume per cubic mile) cave system in the world. The cave is currently the fifth-longest in the world with 137.02 miles (220.51 km) of explored cave passageways, with an average of four new miles of cave being discovered each year. Above ground, the park includes the largest remaining natural mixed-grass prairie in the United States.<br />\nThe Lakota (Sioux), Indigenous People who live in the Black Hills of South Dakota, spoke of a hole that blew air, a place they consider sacred as the site where The Lakota first emerged from the underworld where they lived before the demiurge",
            "link": "http://neatline.dev/items/show/15",
            "title": "Wind Cave National Park",
            "start": "1903-01-09T00:00:00-08:00"
        },
        {
            "image": "http://neatline.dev/archive/square_thumbnails/3f4d78b40d7226edd2bbc337ba5fd5cc.jpg",
            "description": "Zion National Park is located in the Southwestern United States, near Springdale, Utah. A prominent feature of the 229-square-mile (590 km) park is Zion Canyon, which is 15 miles (24 km) long and up to half a mile (800 m) deep, cut through the reddish and tan-colored Navajo Sandstone by the North Fork of the Virgin River. The lowest elevation is 3,666 ft (1,117 m) at Coalpits Wash and the highest elevation is 8,726 ft (2,660 m) at Horse Ranch Mountain. Located at the junction of the Colorado Plateau, Great Basin, and Mojave Desert regions, the park&#039;s unique geography and variety of life zones allow for unusual plant and animal diversity. Numerous plant species as well as 289 species of birds, 75 mammals (including 19 species of bat), and 32 reptiles inhabit the park&#039;s four life zones: desert, riparian, woodland, and coniferous forest. Zion National Park includes mountains, canyons, buttes, mesas, monoliths, rivers, slot canyons, and natural arches.<br />\nHuman habitation of the area started about 8,000 years ago with small family groups of Native Americans; the semi-nomadic Basketmaker Anasazi (300 CE) stem from one of these groups. In turn, the Virgin Anasazi culture (500 CE) developed",
            "link": "http://neatline.dev/items/show/17",
            "title": "Zion National Park",
            "start": "1909-07-31T00:00:00-08:00"
        },
        {
            "image": "http://neatline.dev/archive/square_thumbnails/f43375c21e075393fabd6ea23a004b33.jpg",
            "description": "Glacier National Park is located in the U.S. state of Montana, bordering the Canadian provinces of Alberta and British Columbia. The park encompasses over 1,000,000 acres (4,000 km) and includes parts of two mountain ranges (sub-ranges of the Rocky Mountains), over 130 named lakes, more than 1,000 different species of plants and hundreds of species of animals. This vast pristine ecosystem is the centerpiece of what has been referred to as the &quot;Crown of the Continent Ecosystem&quot;, a region of protected land encompassing 16,000 square miles (41,000 km).<br />\nThe region that became Glacier National Park was first inhabited by Native Americans and upon the arrival of European explorers, was dominated by the Blackfeet in the east and the Flathead in the western regions. Soon after the establishment of the park on May 11, 1910, a number of hotels and chalets were constructed by the Great Northern Railway. These historic hotels and chalets are listed as National Historic Landmarks, and a total of 350 locations are on the National Register of Historic Places. By 1932, work was completed on the Going-to-the-Sun Road, later designated a National Historic Civil Engineering Landmark, which provided",
            "link": "http://neatline.dev/items/show/28",
            "title": "Glacier National Park",
            "start": "1910-05-11T00:00:00-08:00"
        },
        {
            "image": "http://neatline.dev/archive/square_thumbnails/90f33c92700d9bb1777f6caad87d9229.jpg",
            "description": "Acadia National Park is a National Park located in the U.S. state of Maine. It reserves much of Mount Desert Island, and associated smaller islands, off the Atlantic coast. Originally created as Lafayette National Park in 1919, the first National Park East of the Mississippi, it was renamed Acadia in 1929.<br />\nThe area first was inhabited by the Wabanaki people.<br />\nIn the fall of 1604, Samuel de Champlain observed a high-notched island composed of seven or eight mountains rising to bare-rock summits from slopes of birch, fir, and pine. Over four centuries later, the area remains essentially the same.<br />\nThe landscape architect Charles Elliot is credited with the idea for the park. It first attained federal status when President Woodrow Wilson, established it as Sieur de Monts National Monument on July 8, 1916, administered by the National Park Service. On February 26, 1919, it became a national park, with the name Lafayette National Park in honor of the Marquis de Lafayette, an influential French supporter of the American Revolution. The park&#039;s name was changed to Acadia National Park on January 19, 1929.<br />\nFrom 1915 to 1933, the wealthy philanthropist John D. Rockefeller, Jr. financed,",
            "link": "http://neatline.dev/items/show/23",
            "title": "Acadia National Park",
            "start": "1916-07-08T00:00:00-08:00"
        },
        {
            "image": "http://neatline.dev/archive/square_thumbnails/fe7fc9c98be3b1afe340f0a9e9d7890a.jpg",
            "description": "Grand Canyon National Park is the United States&#039; 15th oldest national park and is located in Arizona. Within the park lies the Grand Canyon, a gorge of the Colorado River, considered to be one of the Wonders of the World. The park covers 1,217,262 acres (1,902 sq mi; 4,926 km) of unincorporated area in Coconino and Mohave counties.<br />\nMost visitors to the park come to the South Rim, arriving on Arizona State Route 64. The Highway enters the park through the South Entrance, near Tusayan, Arizona, and heads eastward, leaving the park through the East Entrance. All park accommodations are operated by the Xanterra corporation. Park headquarters are at Grand Canyon Village, a short distance from the South Entrance, being also the location of the most popular viewpoints. Some thirty miles of the South Rim are accessible by road. A much smaller venue for tourists is found on the North Rim, accessed by Arizona State Route 67. There is no road connection between the two within Arizona except via the Navajo Bridge, near Page, Arizona, entailing a five-hour drive. Otherwise, the two rims of the Canyon are connected via Boulder City, Nevada, and the Hoover Dam.<br />\nThe rest of the Grand Canyon is",
            "link": "http://neatline.dev/items/show/5",
            "title": "Grand Canyon National Park",
            "start": "1919-02-26T00:00:00-08:00"
        }
    ]
}

Support Link

Support link should point to the issues page of this repo

Exception when there are no items to show on timeline

If a timeline has an Items query that returns zero items, NeatlineTime throws an exception because an item is not set to be displayed.

This will probably happen to people at some point, whether they add a query that returns zero items, or delete all the items that would show up in an existing query for a timeline.

Add timelines_per_page setting

We currently rely on the setting for items_per_page to determine how many timelines to display per page. It might be better to add our own General setting for timeline record pagination.

Place Featured Timeline on home page

Users are given the option to select a timeline as "featured," but this does not appear to do anything. Featured Items appear on the home page, so users most likely think that a Featured Timeline would do the same.

Modifying Timeline Display

Hi folks,

I hope this isn't an inappropriate use of github - posting this here since it says "We rely on the Github issues tracker for feedback on issues and improvements".

I have a query about altering the dimensions of Neatline Time within Omeka. I posted about it on the Omeka forums but thought this might be a better spot. (http://omeka.org/forums/topic/modifying-neatline-time-display)

As I say there "I want to change the size of the Neatline Time display. From searching around on the github pages it looks like views/shared/css/neatlinetime-timeline.css might be the file to change. Is that correct? I can see how it might change the height but what about the width on the page?"

Generally speaking to modify the Timeline properties does t make sense to be looking at the SIMILE pages at all?

I would appreciate any pointers, and if this isn't a suitable use of github please feel free to close this out.

Configuration option for character to differentiate spans of time

NeatlineTime currently checks to see whether a date includes a '/' character to indicate spans of time. So, '2011/2012' gets converted into to separate time stamps for start and end dates. This, of course, makes it impossible for Omeka users to use '/' to separate other parts of a single date, like '01/01/2012'.

We should add a configuration option to allow users to choose another character to indicate spans of time.

Years are not parsed correctly

Currently all dates (e.g., 1963) are converted to 1970. That's not right.

But it's not clear what would be right? A range from Jan 1, 1963 to Dec 31, 1963? Jan 1, 1963? Jun 15, 1963?

Instead, we're punting it back to the user. They need to be more specific.

Readme Updated

README needs a basic install and usage note;

note of forking and patch pulls

Set a 'focus_date' for each Timeline

As of @4f7a884697a0a1a67e60678c57a1f40d76855f2c NeatlineTime starts at the earliest item on the timeline. However, we should decide on defaults and options. A few come to mind:

  1. Date the timeline was created/modified
  2. Date chosen by the user
  3. Midpoint for all the events/items on the Timeline.

Seems like letting the user choose the focus date, with a few possible suggestions (like earliest date or midpoint) would be ideal. If the user doesn't set a date, it should default to the earliest date.

Item navigation

There should be some way to walk through the items on the timeline in order. "Move to next/previous." This would be especially useful when the items are spaced out.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.