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

[FEAT] A more detailed ARRAY after epub parsing #967

Closed
HanslettTheDev opened this issue Nov 4, 2024 · 3 comments · Fixed by #973
Closed

[FEAT] A more detailed ARRAY after epub parsing #967

HanslettTheDev opened this issue Nov 4, 2024 · 3 comments · Fixed by #973

Comments

@HanslettTheDev
Copy link

Is your feature request related to a problem? Please describe.
Currently, I can get all the meeting parts well, but I would wish to get other aspects separately, like the student counsel point and time for each part. Rather than it merged with one part completely

Describe the solution you'd like
Here is a sample json structure I have for my desktop application I built for the same purpose(though jw-epub-parser does the parsing better)

{
    "September 2-8": {
        "month": "September 2-8",
        "reading": "PSALMS 79-81",
        "opening_song": "Song 29",
        "fine_fine_lesson": "Show Love for Jehovah Wonderful Name",
        "bible_reading": "Ps 79:1\u201380:7",
        "preaching": [
            "When You De Start Discussion",
            "When You De Start Discussion",
            "When You De Start Discussion",
            "When You De Check the Person Again"
        ],
        "preaching_time": [
            "1 ",
            "3 ",
            "2 ",
            "5 "
        ],
        "middle_song": "Song 10",
        "middle_parts": [
            "\u201cThem Go Make My Name Dey Holy\u201d"
        ],
        "middle_parts_time": [
            "15"
        ],
        "book_study": "bt chap. 15 \u00b61-7, and introduction to part 6",
        "book_study_box": "",
        "concluding_song": "Song 90"
    },

Additional context
I have my software, which I built in Python, including a web scrapper that fetches information from our website and generates a meeting schedule. But it's challenging to keep making those adjustments since the website receives lots of updates. So, I searched for a tool and stumbled across yours. Excellent work, by the way. It parsed the pidgin language flawlessly

@rhahao
Copy link
Member

rhahao commented Nov 5, 2024

Hello @HanslettTheDev, thanks for reaching out.

While we could not change the current structure of the parsing result (since this package is used by other tools as well), we could enable the pidgin language for enhanced parsing so that you could have some detailed information, if this is the language you are working on.

We will try to see as well if the study points can be accessed separately using new properties, but we hope with little extraction logic, others can do this without much trouble from the already parsed data.

Thank you.

@HanslettTheDev
Copy link
Author

Yes that's true.
I was trying to see how I can make a library for this in python. But I will work on that privately
Excellent work once again. I am already working on using the existing data and transforming it to my suited taste

Thank you

@HanslettTheDev
Copy link
Author

Yes, if you can add the language for enhanced parsing, that will be great
Thank you

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 a pull request may close this issue.

2 participants