Skip to content

Commit

Permalink
#47: Update id-subcomponent separators missed in 8336afc
Browse files Browse the repository at this point in the history
  • Loading branch information
adamfranco committed Sep 27, 2024
1 parent 93a1767 commit ed320b8
Show file tree
Hide file tree
Showing 3 changed files with 76 additions and 76 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,10 @@ Examples

Examples of the the Course-Catalog in action at <a href="http://www.middlebury.edu">Middlebury College</a>:

* [Main Search UI](https://catalog.middlebury.edu/catalogs/view/catalog/catalog%2FMCUG) (catalog app)
* [Section Details Page](https://catalog.middlebury.edu/offerings/view/catalog/catalog%2FMCUG/offering/section%2F201090%2F91241) (catalog app)
* [Department "courses" RSS feed](https://catalog.middlebury.edu/courses/topicxml/catalog/catalog%2FMCUG/topic/topic%2Fdepartment%2FBIOL) (catalog app)
* [Departments listing to feed to the Drupal content type form](https://catalog.middlebury.edu/topics/listdepartmentstxt/catalog/catalog%2FMCUG/) (catalog app)
* [Main Search UI](https://catalog.middlebury.edu/catalogs/view/catalog/catalog.MCUG) (catalog app)
* [Section Details Page](https://catalog.middlebury.edu/offerings/view/catalog/catalog.MCUG/offering/section.201090.91241) (catalog app)
* [Department "courses" RSS feed](https://catalog.middlebury.edu/courses/topicxml/catalog/catalog.MCUG/topic/topic.department.BIOL) (catalog app)
* [Departments listing to feed to the Drupal content type form](https://catalog.middlebury.edu/topics/listdepartmentstxt/catalog/catalog.MCUG/) (catalog app)
* [Department Course Listing](http://www.middlebury.edu/academics/bio/courses) (Drupal "courses" content-type displaying a feed from the catalog app)
* [Department Section Listing](http://www.middlebury.edu/academics/bio/courses/offerings) (Drupal "courses" content-type displaying a feed from the catalog app)
* [Faculty Profile](http://www.middlebury.edu/academics/bio/faculty/node/48111) (Drupal "profile" content-type displaying a feed from the catalog app)</li>
Expand Down
14 changes: 7 additions & 7 deletions configuration.plist-example
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>urn:inet:middlebury.edu:config:banner_course/id_authority</key>
<key>urn:inet:middlebury.edu:config:banner_course.id_authority</key>
<string>middlebury.edu</string>
<key>urn:inet:middlebury.edu:config:banner_course/pdo_count_queries</key>
<key>urn:inet:middlebury.edu:config:banner_course.pdo_count_queries</key>
<true/>
<key>urn:inet:middlebury.edu:config:banner_course/pdo_driver_options</key>
<key>urn:inet:middlebury.edu:config:banner_course.pdo_driver_options</key>
<dict>
<!--
<key>PDO::ATTR_PERSISTENT</key>
Expand All @@ -17,14 +17,14 @@
<string>SET NAMES utf8</string>
-->
</dict>
<key>urn:inet:middlebury.edu:config:banner_course/pdo_dsn</key>
<key>urn:inet:middlebury.edu:config:banner_course.pdo_dsn</key>
<string>mysql:dbname=afranco_catalog;host=localhost</string>
<key>urn:inet:middlebury.edu:config:banner_course/pdo_password</key>
<key>urn:inet:middlebury.edu:config:banner_course.pdo_password</key>
<string>testpassword</string>
<key>urn:inet:middlebury.edu:config:banner_course/pdo_username</key>
<key>urn:inet:middlebury.edu:config:banner_course.pdo_username</key>
<string>testuser</string>

<key>urn:inet:middlebury.edu:config:apc_course/impl_class_name</key>
<key>urn:inet:middlebury.edu:config:apc_course.impl_class_name</key>
<string>banner_course_CourseManager</string>
</dict>
</plist>
130 changes: 65 additions & 65 deletions frontend_config.ini-example
Original file line number Diff line number Diff line change
Expand Up @@ -90,14 +90,14 @@ resources.layout.layout = midd
; Custom layouts to use for some catalogs
;
; Each entry must have a catalog Id and a layout.
catalog.layouts.MIIS.catalog_id = "urn:inet:middlebury.edu:catalog/MIIS"
catalog.layouts.MIIS.catalog_id = "urn:inet:middlebury.edu:catalog.MIIS"
catalog.layouts.MIIS.layout = "miis"

; Default course offering types to select in the search UI.
catalog.default_offering_genus_types_to_search[] = "urn:inet:middlebury.edu:genera:offering/LCT"
catalog.default_offering_genus_types_to_search[] = "urn:inet:middlebury.edu:genera:offering/SEM"
catalog.default_offering_genus_types_to_search[] = "urn:inet:middlebury.edu:genera:offering/PRC"
catalog.default_offering_genus_types_to_search[] = "urn:inet:middlebury.edu:genera:offering/WKS"
catalog.default_offering_genus_types_to_search[] = "urn:inet:middlebury.edu:genera:offering.LCT"
catalog.default_offering_genus_types_to_search[] = "urn:inet:middlebury.edu:genera:offering.SEM"
catalog.default_offering_genus_types_to_search[] = "urn:inet:middlebury.edu:genera:offering.PRC"
catalog.default_offering_genus_types_to_search[] = "urn:inet:middlebury.edu:genera:offering.WKS"

; The Id authority to shorten for prettier URLs.
catalog.shorten_ids_for_authority = "middlebury.edu"
Expand All @@ -106,75 +106,75 @@ catalog.shorten_ids_for_authority = "middlebury.edu"
catalog.banner_web_url = "https://ssb-prod.ec.middlebury.edu/PNTR/bwckschd.p_disp_detail_sched"

; Extra URLs to print in the sidebar
catalog.menu_links.MCUG.catalog_id = "urn:inet:middlebury.edu:catalog/MCUG"
catalog.menu_links.MCUG.catalog_id = "urn:inet:middlebury.edu:catalog.MCUG"
catalog.menu_links.MCUG.links[] = "<a href='http://www.middlebury.edu/academics/catalog/coursecatalog' style='white-space: nowrap'>Courses &amp; Requirements</a>"

; A map of topics to external URLs. This allows linking out to external sites for
; departments or programs. Use the topic_map key for global redirects and the
; catalog_topic_map key for per-catalog redirects.

; Per-catalog mappings
catalog.catalog_topic_map.catalog/MCLS.topic/department/ARBC.url = "http://www.middlebury.edu/ls/arabic"
catalog.catalog_topic_map.catalog/MCLS.topic/department/JAPN.url = "http://www.middlebury.edu/ls/japanese"
catalog.catalog_topic_map.'catalog.MCLS'.'topic.department.ARBC'.url = "http://www.middlebury.edu/ls/arabic"
catalog.catalog_topic_map.'catalog.MCLS'.'topic.department.JAPN'.url = "http://www.middlebury.edu/ls/japanese"

; Global mappings.
catalog.topic_map.topic/department/ALAC.url = "http://go.middlebury.edu/ALAC"
catalog.topic_map.topic/department/AMCV.url = "http://go.middlebury.edu/AMCV"
catalog.topic_map.topic/department/AMLT.url = "http://go.middlebury.edu/AMLT"
catalog.topic_map.topic/department/AMST.url = "http://go.middlebury.edu/AMST"
catalog.topic_map.topic/department/ARBC.url = "http://go.middlebury.edu/ARBC"
catalog.topic_map.topic/department/ARDV.url = "http://go.middlebury.edu/ARDV"
catalog.topic_map.topic/department/ART.url = "http://go.middlebury.edu/ART"
catalog.topic_map.topic/department/BIOL.url = "http://go.middlebury.edu/BIOL"
catalog.topic_map.topic/department/CHEM.url = "http://go.middlebury.edu/CHEM"
catalog.topic_map.topic/department/CHNS.url = "http://go.middlebury.edu/CHNS"
catalog.topic_map.topic/department/CLAS.url = "http://go.middlebury.edu/CLAS"
catalog.topic_map.topic/department/CSCI.url = "http://go.middlebury.edu/CSCI"
catalog.topic_map.topic/department/DANC.url = "http://go.middlebury.edu/DANC"
catalog.topic_map.topic/department/ECON.url = "http://go.middlebury.edu/ECON"
catalog.topic_map.topic/department/EDST.url = "http://go.middlebury.edu/EDST"
catalog.topic_map.topic/department/ENAM.url = "http://go.middlebury.edu/ENAM"
catalog.topic_map.topic/department/ENGL.url = "http://go.middlebury.edu/ENGL"
catalog.topic_map.topic/department/ENVS.url = "http://go.middlebury.edu/ENVS"
catalog.topic_map.topic/department/FMMC.url = "http://go.middlebury.edu/FMMC"
catalog.topic_map.topic/department/FREN.url = "http://go.middlebury.edu/FREN"
catalog.topic_map.topic/department/FYSE.url = "http://go.middlebury.edu/FYSE"
catalog.topic_map.topic/department/GEOG.url = "http://go.middlebury.edu/GEOG"
catalog.topic_map.topic/department/GEOL.url = "http://go.middlebury.edu/GEOL"
catalog.topic_map.topic/department/GRMN.url = "http://go.middlebury.edu/GRMN"
catalog.topic_map.topic/department/HARC.url = "http://go.middlebury.edu/HARC"
catalog.topic_map.topic/department/HIST.url = "http://go.middlebury.edu/HIST"
catalog.topic_map.topic/department/HUDV.url = "http://go.middlebury.edu/HUDV"
catalog.topic_map.topic/department/INDE.url = "http://go.middlebury.edu/INDE"
catalog.topic_map.topic/department/INTD.url = "http://go.middlebury.edu/INTD"
catalog.topic_map.topic/department/INTL.url = "http://go.middlebury.edu/INTL"
catalog.topic_map.topic/department/IPEC.url = "http://go.middlebury.edu/IPEC"
catalog.topic_map.topic/department/ISEA.url = "http://go.middlebury.edu/ISEA"
catalog.topic_map.topic/department/ISRU.url = "http://go.middlebury.edu/ISRU"
catalog.topic_map.topic/department/ITAL.url = "http://go.middlebury.edu/ITAL"
catalog.topic_map.topic/department/JAPN.url = "http://go.middlebury.edu/JAPN"
catalog.topic_map.topic/department/LITP.url = "http://go.middlebury.edu/LITP"
catalog.topic_map.topic/department/LITS.url = "http://go.middlebury.edu/LITS"
catalog.topic_map.topic/department/MATH.url = "http://go.middlebury.edu/MATH"
catalog.topic_map.topic/department/MBBC.url = "http://go.middlebury.edu/MBBC"
catalog.topic_map.topic/department/MUSC.url = "http://go.middlebury.edu/MUSC"
catalog.topic_map.topic/department/NSCI.url = "http://go.middlebury.edu/NSCI"
catalog.topic_map.topic/department/PGSE.url = "http://go.middlebury.edu/PGSE"
catalog.topic_map.topic/department/PHED.url = "http://go.middlebury.edu/PHED"
catalog.topic_map.topic/department/PHIL.url = "http://go.middlebury.edu/PHIL"
catalog.topic_map.topic/department/PHYS.url = "http://go.middlebury.edu/PHYS"
catalog.topic_map.topic/department/PSCI.url = "http://go.middlebury.edu/PSCI"
catalog.topic_map.topic/department/PSYC.url = "http://go.middlebury.edu/PSYC"
catalog.topic_map.topic/department/RELI.url = "http://go.middlebury.edu/RELI"
catalog.topic_map.topic/department/RUSS.url = "http://go.middlebury.edu/RUSS"
catalog.topic_map.topic/department/SISP.url = "http://go.middlebury.edu/SISP"
catalog.topic_map.topic/department/SOAN.url = "http://go.middlebury.edu/SOAN"
catalog.topic_map.topic/department/SPAN.url = "http://go.middlebury.edu/SPAN"
catalog.topic_map.topic/department/STLD.url = "http://go.middlebury.edu/STLD"
catalog.topic_map.topic/department/TEDU.url = "http://go.middlebury.edu/TEDU"
catalog.topic_map.topic/department/THEA.url = "http://go.middlebury.edu/THEA"
catalog.topic_map.topic/department/WAGS.url = "http://go.middlebury.edu/WAGS"
catalog.topic_map.topic/department/WRPR.url = "http://go.middlebury.edu/WRPR"
catalog.topic_map.'topic.department.ALAC'.url = "http://go.middlebury.edu/ALAC"
catalog.topic_map.'topic.department.AMCV'.url = "http://go.middlebury.edu/AMCV"
catalog.topic_map.'topic.department.AMLT'.url = "http://go.middlebury.edu/AMLT"
catalog.topic_map.'topic.department.AMST'.url = "http://go.middlebury.edu/AMST"
catalog.topic_map.'topic.department.ARBC'.url = "http://go.middlebury.edu/ARBC"
catalog.topic_map.'topic.department.ARDV'.url = "http://go.middlebury.edu/ARDV"
catalog.topic_map.'topic.department.ART'.url = "http://go.middlebury.edu/ART"
catalog.topic_map.'topic.department.BIOL'.url = "http://go.middlebury.edu/BIOL"
catalog.topic_map.'topic.department.CHEM'.url = "http://go.middlebury.edu/CHEM"
catalog.topic_map.'topic.department.CHNS'.url = "http://go.middlebury.edu/CHNS"
catalog.topic_map.'topic.department.CLAS'.url = "http://go.middlebury.edu/CLAS"
catalog.topic_map.'topic.department.CSCI'.url = "http://go.middlebury.edu/CSCI"
catalog.topic_map.'topic.department.DANC'.url = "http://go.middlebury.edu/DANC"
catalog.topic_map.'topic.department.ECON'.url = "http://go.middlebury.edu/ECON"
catalog.topic_map.'topic.department.EDST'.url = "http://go.middlebury.edu/EDST"
catalog.topic_map.'topic.department.ENAM'.url = "http://go.middlebury.edu/ENAM"
catalog.topic_map.'topic.department.ENGL'.url = "http://go.middlebury.edu/ENGL"
catalog.topic_map.'topic.department.ENVS'.url = "http://go.middlebury.edu/ENVS"
catalog.topic_map.'topic.department.FMMC'.url = "http://go.middlebury.edu/FMMC"
catalog.topic_map.'topic.department.FREN'.url = "http://go.middlebury.edu/FREN"
catalog.topic_map.'topic.department.FYSE'.url = "http://go.middlebury.edu/FYSE"
catalog.topic_map.'topic.department.GEOG'.url = "http://go.middlebury.edu/GEOG"
catalog.topic_map.'topic.department.GEOL'.url = "http://go.middlebury.edu/GEOL"
catalog.topic_map.'topic.department.GRMN'.url = "http://go.middlebury.edu/GRMN"
catalog.topic_map.'topic.department.HARC'.url = "http://go.middlebury.edu/HARC"
catalog.topic_map.'topic.department.HIST'.url = "http://go.middlebury.edu/HIST"
catalog.topic_map.'topic.department.HUDV'.url = "http://go.middlebury.edu/HUDV"
catalog.topic_map.'topic.department.INDE'.url = "http://go.middlebury.edu/INDE"
catalog.topic_map.'topic.department.INTD'.url = "http://go.middlebury.edu/INTD"
catalog.topic_map.'topic.department.INTL'.url = "http://go.middlebury.edu/INTL"
catalog.topic_map.'topic.department.IPEC'.url = "http://go.middlebury.edu/IPEC"
catalog.topic_map.'topic.department.ISEA'.url = "http://go.middlebury.edu/ISEA"
catalog.topic_map.'topic.department.ISRU'.url = "http://go.middlebury.edu/ISRU"
catalog.topic_map.'topic.department.ITAL'.url = "http://go.middlebury.edu/ITAL"
catalog.topic_map.'topic.department.JAPN'.url = "http://go.middlebury.edu/JAPN"
catalog.topic_map.'topic.department.LITP'.url = "http://go.middlebury.edu/LITP"
catalog.topic_map.'topic.department.LITS'.url = "http://go.middlebury.edu/LITS"
catalog.topic_map.'topic.department.MATH'.url = "http://go.middlebury.edu/MATH"
catalog.topic_map.'topic.department.MBBC'.url = "http://go.middlebury.edu/MBBC"
catalog.topic_map.'topic.department.MUSC'.url = "http://go.middlebury.edu/MUSC"
catalog.topic_map.'topic.department.NSCI'.url = "http://go.middlebury.edu/NSCI"
catalog.topic_map.'topic.department.PGSE'.url = "http://go.middlebury.edu/PGSE"
catalog.topic_map.'topic.department.PHED'.url = "http://go.middlebury.edu/PHED"
catalog.topic_map.'topic.department.PHIL'.url = "http://go.middlebury.edu/PHIL"
catalog.topic_map.'topic.department.PHYS'.url = "http://go.middlebury.edu/PHYS"
catalog.topic_map.'topic.department.PSCI'.url = "http://go.middlebury.edu/PSCI"
catalog.topic_map.'topic.department.PSYC'.url = "http://go.middlebury.edu/PSYC"
catalog.topic_map.'topic.department.RELI'.url = "http://go.middlebury.edu/RELI"
catalog.topic_map.'topic.department.RUSS'.url = "http://go.middlebury.edu/RUSS"
catalog.topic_map.'topic.department.SISP'.url = "http://go.middlebury.edu/SISP"
catalog.topic_map.'topic.department.SOAN'.url = "http://go.middlebury.edu/SOAN"
catalog.topic_map.'topic.department.SPAN'.url = "http://go.middlebury.edu/SPAN"
catalog.topic_map.'topic.department.STLD'.url = "http://go.middlebury.edu/STLD"
catalog.topic_map.'topic.department.TEDU'.url = "http://go.middlebury.edu/TEDU"
catalog.topic_map.'topic.department.THEA'.url = "http://go.middlebury.edu/THEA"
catalog.topic_map.'topic.department.WAGS'.url = "http://go.middlebury.edu/WAGS"
catalog.topic_map.'topic.department.WRPR'.url = "http://go.middlebury.edu/WRPR"


[staging : production]
Expand Down

0 comments on commit ed320b8

Please sign in to comment.