Esempio n. 1
0
 def processInternalLinks(self, html):
     """
     take care of any internal links which are in the form of:
        href="exe-node:Home:Topic:etc#Anchor"
     For this SCORM Export, go ahead and remove the link entirely,
     leaving only its text, since such links are not to be in the LMS.
     """
     return common.removeInternalLinks(html)
Esempio n. 2
0
 def processInternalLinks(self, html):
     """
     take care of any internal links which are in the form of:
        href="exe-node:Home:Topic:etc#Anchor"
     For this IMS Export, go ahead and remove the link entirely,
     leaving only its text, since such links are not to be in the LMS.
     """
     return common.removeInternalLinks(html)
Esempio n. 3
0
 def processInternalLinks(self, html):
     """
     take care of any internal links which are in the form of:
        href="exe-node:Home:Topic:etc#Anchor"
     For this export, go ahead and remove the link entirely,
     leaving only its text, since such links are not to be in the LMS.
     The links to the elp file will not be removed.
     """
     html = common.enableLinksToElp(self.node.package, html)
     return common.removeInternalLinks(html)
Esempio n. 4
0
 def processInternalLinks(self, html):
     """
     take care of any internal links which are in the form of:
        href="exe-node:Home:Topic:etc#Anchor"
     For this IMS Export, go ahead and remove the link entirely,
     leaving only its text, since such links are not to be in the LMS.
     Keep the links to the elp file (if the elp file exists).
     """
     html = common.enableLinksToElp(self.node.package,html)
     return common.removeInternalLinks(html)