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

HTML API: List all tokens in an input document. #6046

Closed
wants to merge 1 commit into from

Conversation

dmsnell
Copy link
Member

@dmsnell dmsnell commented Feb 7, 2024

Apply this patch to print a diagnostic view of an HTML document, as the HTML API sees it.

  • without any arguments this prints a predefined sample HTML document.
  • pipe to stdin and supply any CLI arg to list the tokens for a given input.
php parse-tokens.php

curl http://info.cern.ch/hypertext/DataSources/Top.html | php parse-tokens.php -

Screenshot 2024-02-06 at 6 52 49 PM

@dmsnell
Copy link
Member Author

dmsnell commented Jun 15, 2024

Replaced by #6832

@dmsnell dmsnell closed this Jun 15, 2024
@dmsnell dmsnell deleted the html-api/list-tokens branch June 15, 2024 15:39
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

Successfully merging this pull request may close these issues.

1 participant