Got a question?
We can help.
How to connect from
off-campus
It is possible to create links to generate three types of hours for a library or services point:
1. Generate current hours for a library or service point
2. Generate next term's hours for a library or service point
You can also point to a version of all the library hours for the current term at http://library.dartmouth.edu/libhours/display.php?period_id=current&shtml=2,
all the library hours for the next term at http://library.dartmouth.edu/libhours/display.php?period_id=next&shtml=2,
and a dynamic version of all the library hours by month at http://library.dartmouth.edu/libhours/calendar.php.
Existing libraries and service points are listed in the first column of the library hours web page. If you are interested in generating hours for a library or service point that is not currently listed on the hours page, you'll need to send an email to Mary LaMarca.
To generate hours for a library or service point, just substitute the name of the .ihtml file in the right column of the following table for the corresponding library or service point. _current_hours stands for the current semester's hours, _next_hours stands for the next semester's hours. If the library office makes any changes to the hours, they will be automatically update on your web pages since they are being dynamically generated from a database.
| Baker-Berry | bb_current_hours.ihtml |
| bb_next_hours.ihtml | |
| Biomedical Libraries | biomed_current_hours.ihtml |
| biomed_next_hours.ihtml | |
| Dana Library | dana_current_hours.ihtml |
| dana_next_hours.ihtml | |
| Evans Map Room | evans_current_hours.ihtml |
| evans_next_hours.ihtml | |
| Feldberg Library | feldberg_current_hours.ihtml |
| feldberg_next_hours.ihtml | |
| Jones Media Center | jones_current_hours.ihtml |
| jones_next_hours.ihtml | |
| Kresge Library | kresge_current_hours.ihtml |
| kresge_next_hours.ihtml | |
| Matthews-Fuller Library | matthewsfuller_current_hours.ihtml |
| matthewsfuller_next_hours.ihtml | |
| News Center | newspaper_current_hours.ihtml |
| newspaper_next_hours.ihtml | |
| Paddock Library | paddock_current_hours.ihtml |
| paddock_next_hours.ihtml | |
| Rauner Library | rauner_current_hours.ihtml |
| rauner_next_hours.ihtml | |
| Sherman Library | sherman_current_hours.ihtml |
| sherman_next_hours.ihtml | |
| Tower Room | tower_current_hours.ihtml |
| tower_next_hours.ihtml |
As of Spring Term 2008, all library accounts should reside on Webster, the main college web server. The URL for this server starts with http://www.dartmouth.edu/. The following code example can be modified to generate hours on a web page; this code generates the hours for the current semester for the Biomedical Libraries, both Dana and Matthews-Fuller:
<!--#include virtual="/~library/hours_includes/biomed_current_hours.ihtml"-->
The above code generates the following:
Begin code generation
Fall Term 2008
September 24 through December 09
Mon-Thu Friday Saturday Sunday Dana Library 7am-12 midnight 7am-12 midnight 9am-12 midnight 9am-12 midnight Matthews-Fuller Library 8am-11pm 8am-6pm 9am-5pm 1pm-9pm
Exceptions to above:
Wed
Nov 26Thu
Nov 27Fri
Nov 28Sat
Nov 29Sun
Nov 30Tue
Dec 2Fri
Dec 5Sat
Dec 6Sun
Dec 7Dana Library 7am-5pm Closed 9am-5pm Matthews-Fuller Library 8am-5pm Closed 8am-5pm
End code generation
Follow the directions as above (for current hours), but substitute the word "next" for "current".
<!--#include virtual="/~library/hours_includes/biomed_next_hours.ihtml"-->
There is also a new feature for the redesign, you can now specify today's hours with an include. See http://library.dartmouth.edu/libhours/accessPointList.php for the table that contains the numbers you need to use. If you want to dynamically generate 'today's hours' for "Library Administration", you'd use the following code:
<p>Today's Hours: <!--#include virtual="/~library/hours_includes/daily_hours_23.ihtml"--></p>
This would generate:
Begin code generation
Today's Hours: 8am-5pm
End code generation