Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Script not working #1

Open
alvespin opened this issue Aug 8, 2018 · 3 comments
Open

Script not working #1

alvespin opened this issue Aug 8, 2018 · 3 comments

Comments

@alvespin
Copy link

alvespin commented Aug 8, 2018

Learning hub no longer offers flipbooks nor page number, Example of code

https://saplearninghub.plateau.com/icontent_e/CUSTOM_eu/sap/selfmanaged/ebook/BIT800_EN_Col16_R1.1/index.html?Course=CUSTOM_eu&url=/self-managed/ebook/BIT800_EN_Col16_R1.1/index.html#

I believe the problematic code is shown here:

for (i = 1; i<=$("#pages").val(); i++) { var pageId = "page" + pad(i, 4); linksHtml = linksHtml + "<a href='" + "https://saplearninghub.plateau.com/icontent_e/CUSTOM_eu/sap/self-managed/ebook/BIT800_EN_Col16_R1.1/index.html?Course=CUSTOM_eu&url=/self-managed/ebook/BIT800_EN_Col16_R1.1/index.html" + $("#course").val() + "/files/assets/flash/pages/" + pageId + ".swf" + "'>" + i + "</a>; "; scriptHtml = scriptHtml + '"' + $("#swftoolspath").val() + 'swfrender.exe" ' + pageId + '.swf -o ' + pageId + '.png\n'; } $("#links").html("<small>" + linksHtml + "</small>"); $("#script").html("<button onclick='downloadScript()'>Download Script</button>");

@jasondude984
Copy link

Is there a possibility to get the updated script for downloading the books since they changes the format of links for pages?

@nembonoid
Copy link

Is there a possibility to get the updated script for downloading the books since they changes the format of links for pages?

What would be the issue with the current version? I've downloaded several books successfully using Firefox. I'm using it right now, that's what I ended here.

@migiiiii
Copy link

Hi there,
the link is not working.. maybe the adress is already different?

picture

Thank you for reply.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants