lumenlearning / candela

Candela stack wordpress only
Other
6 stars 6 forks source link

some ThinCC Candela LTI links point to the wrong page URL #41

Closed xolotl closed 9 years ago

xolotl commented 9 years ago

example: https://courses.candelalearning.com/technicalwriting1x33x2/chapter/memos/

while the ThinCC refers to: https://courses.candelalearning.com/api/lti/596?page_title=chapter%2Fmemos-1

<resource identifier="R_596_1519" type="imsbasiclti_xmlv1p0">
    <cartridge_basiclti_link xmlns="http://www.imsglobal.org/xsd/imslticc_v1p0"
                             xmlns:blti="http://www.imsglobal.org/xsd/imsbasiclti_v1p0"
                             xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
                             xsi:schemaLocation="http://www.imsglobal.org/xsd/imslticc_v1p0 http://www.imsglobal.org/xsd/lti/ltiv1p3/imslticc_v1p3.xsd http://www.imsglobal.org/xsd/imsbasiclti_v1p0 http://www.imsglobal.org/xsd/lti/ltiv1p0/imsbasiclti_v1p0p1.xsd">
        <blti:title>Memos: Writing Commons</blti:title>
        <blti:secure_launch_url>https://courses.candelalearning.com/api/lti/596?page_title=chapter%2Fmemos-1</blti:secure_launch_url>
    </cartridge_basiclti_link>
</resource>
bracken commented 9 years ago

This is happening because a "part" in the book has the same post_name as the page and pressbooks has a method to make the post_names unique separate from how wordpress does it. I still haven't decided on the best solution to this, but that's the problem.