tanuki icon indicating copy to clipboard operation
tanuki copied to clipboard

Provide a form for common capture patterns

Open siznax opened this issue 10 years ago • 2 comments

Capture (/capture) should have a menu for doing common things so you can just enter an URL and select from the menu and click go.

  1. New York Times article (css #article)
  2. Wikipedia article (css #bodyContent)
  3. Wikipedia infobox (css .infobox)
  4. Wikipedia first paragraph (xpath //*[@id="mw-content-text"]/p[1])
  5. Wikipedia first n paragraphs (//*[@id="mw-content-text"]/p[position() <= n])
  6. Wikipedia paragraph(s) before Contents box ("#toc")
  7. etc.

siznax avatar Jul 12 '15 19:07 siznax

Maybe it could even detect common domains and "do the right thing".

siznax avatar Jul 12 '15 20:07 siznax

Using a context menu (see #8) obviates the need for this, but it requires installing a browser extension, so having both is probably best, imo.

siznax avatar Jul 12 '15 20:07 siznax