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

Extract first line from text as author #351

Open
aschilling opened this issue Jul 30, 2024 · 1 comment
Open

Extract first line from text as author #351

aschilling opened this issue Jul 30, 2024 · 1 comment

Comments

@aschilling
Copy link

aschilling commented Jul 30, 2024

Hi everybody,

is there a way to extract the very first line of a tag as author? Unfortunately, there is no tag or any formatting besides the fact that it is the very first line of the tag from class "text". The html looks like this:

<pre class="text">AuthorForename AuthorSurname

this is the text of the author without any formatting which goes a long way

Finally is there a way to remove this first line from the text such that the author information is not saved within the body?

Any help is appreciated

@aschilling aschilling changed the title Extract single line from text as author Extract first line from text as author Jul 30, 2024
@HolgerAusB
Copy link
Contributor

aah, you already did that issue, @aschilling ;-)

Is that a public website? So you can give us an URL to an article?

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

2 participants