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

Changes in words and definitions handler, updated readme #9

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

yinchyy
Copy link

@yinchyy yinchyy commented Jan 14, 2022

No description provided.

Finding words didn't work for me, result was always empty, so no records
were added to database, and apkg were created without definition. To
overcome it I've changed faulty jquery (I suppose) to separating words
with substring, which searches for closing tag of h2 (opening tag was
the most suitable for separator for my dictionary, as it was before
every word, after the word comes the closing tag), and then assigning
substring before closing tag to word, and the rest after the closing tag
to the definition. This way query now works like a charm, but it might
not work for every dictionary, as layout might differ, so further
research is required.
Copy link
Author

@yinchyy yinchyy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

comment out faulty code for debugging

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