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

SNAPSHOT OF A NAMESPACE - dokuwiki for documentation: just export the content of a current namespace (no saved selections) #135

Closed
Chris75forumname opened this issue Jul 18, 2022 · 3 comments

Comments

@Chris75forumname
Copy link

Chris75forumname commented Jul 18, 2022

Hi,
since we are using dokuwiki for documentation, I need the functionality to export a current namespace without further ado.
There should be a simple export link syntax, like ~~PDFNS>namespace|pdftitle~~, see: https://www.dokuwiki.org/plugin:dw2pdf#syntax. Something like: ~~HTMLNS>namespace|Link~~ (as previously requested here: #125 (comment))

All the while, I wrote myself a nice little click-bot, who works like a charm:

    jQuery(function(){
       if( jQuery("h1#export_manager_my_project").length > 0 ) {
          setTimeout(function() { jQuery("button[name='resetselection']")[0].click();
             setTimeout(function() { jQuery("button[name='selectns']")[0].click();
                setTimeout(function() { jQuery("a[title='namespace:my_project:milestones:']")[0].click();
                   setTimeout(function() { jQuery("#bc__nspicker_select")[0].click();
                      setTimeout(function() { jQuery("button[name='exportselection']")[0].click(); 
                      }, 200);
                   }, 200);
                }, 400);
             }, 0);
          }, 0);
       }
    });

@Chris75forumname Chris75forumname changed the title SNAPSHOT OF A NAMESPACE - dokuwiki for documentation: just export all current ns content (no saved selections) SNAPSHOT OF A NAMESPACE - dokuwiki for documentation: just export the content of a current namespace (no saved selections) Jul 18, 2022
@Klap-in
Copy link
Owner

Klap-in commented Jul 19, 2022

You can already export your namespace with ~~PDFNS>namespace|pdftitle~~. I don’t understand what is different in your proposal… Could you please explain the difference?

@Chris75forumname
Copy link
Author

As I said above ~~HTMLNS>namespace|Link~~, I need the same for HTML export.

@Nif9
Copy link

Nif9 commented Aug 5, 2022

I have almost the same need : export a full namespace. But I also want to reorder it or delete few pages from a huge selection.

Can the book manager be enriched by a text input allowing to input page names or namespace (mynamespace:*) with a "add" button?

Thank you.

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

3 participants