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

Provide a form for common capture patterns #7

Open
siznax opened this issue Jul 12, 2015 · 2 comments
Open

Provide a form for common capture patterns #7

siznax opened this issue Jul 12, 2015 · 2 comments

Comments

@siznax
Copy link
Owner

siznax commented Jul 12, 2015

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 siznax changed the title Capture selector templates Capture menu (templates) Jul 12, 2015
@siznax
Copy link
Owner Author

siznax commented Jul 12, 2015

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

@siznax
Copy link
Owner Author

siznax commented Jul 12, 2015

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 siznax changed the title Capture menu (templates) Provide a form for common capture patterns Mar 31, 2018
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

1 participant