New feature: craft unpaginators helper

in
Subscribe to New feature: craft unpaginators helper 1 post, 1 voice

Johan Sundström Script's Author

If you run the bookmarklet javascript:void(craft()) on a page you want to unpaginate, you get a crude:ish tool at the bottom of the page where you can edit in the two or three xpath expressions you tend to need to make a new unpaginator: the xpath to items that should be pulled into the page on the far left, next the xpath expression that finds the "next" link on the page, and finally (optional) an expression that finds the pagination bar, if there is one. The second xpath expression may now be specified as a relative path from the panel, if there was a panel.

(If a panel is specified, on unpaginating, that panel will be replaced wholesale with the contents of the next page, so it, eventually, as all pages have been unfolded, lists what the final page had in that section.)

I'm sure this is way too technical and ill described for most people that are not myself, but it's at least something, and it really only caters my own creature comforts at the moment, so I didn't exactly go overboard on the user interface parts. :-)

Cross
Presentational HTML allowed.
Use <code> for inline code and <pre> for code blocks. Use &lt; and &gt; for literal < and >.
We help break paragraphs and link your links.
or cancel