-
Notifications
You must be signed in to change notification settings - Fork 0
/
readme.txt
42 lines (32 loc) · 1.77 KB
/
readme.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
Access Purdue Course Catalog API
Drupal 7 module that pulls data from Purdue course catalog API xml feeds.
Provides blocks for:
• plan of study
• list of courses for college, department, or program
• course data
External requirements (admin page):
• Application key from registrar
• Catalog ID number
Data structure requirements:
For all college courses:
• /courses node exists
• /courses/course node exists
• block "All College Courses" assigned to "courses" page
• block "Course Data" assigned to "courses/course" page
• add a field "Course Catalog Name", type = "Text" to a content type. Preferably a unique department content type. The machine name of the field needs to be "field_course_catalog_name"
• Edit all of the department nodes and add the department name to the field.
Example: "School of Aviation and Transportation Technology"
For a list of all department courses on a subpage "courses" of a degree page:
• degree content type with program ID field "Course Catalog ID". Machine name "field_course_catalog_id"
• add a "courses" node as a child node of the degree node. Requires "Node Hierarchy" module
• block "Degree subpage - List of Courses" block assigned to the new courses page
For plan of study and required major courses:
• degree content type with program ID field "Course Catalog ID". Machine name "field_course_catalog_id"
• degree "required major courses" block shown on degree page
• degree "plan of study" node is a child of a degree page with program ID.
• degree "courses" node is a child of the degree node.
Next steps:
Spring 2018: Convert project to lookup programs by name and return content instead of using PIDs. PIDs change every year.
Contact for implementation assistance:
Matt Bosma