Skip to content

feat(ar/markazriwayat): convert from madara to standalone plugin#2304

Open
hamedhani1998 wants to merge 12 commits into
lnreader:masterfrom
hamedhani1998:feat-markazriwayat
Open

feat(ar/markazriwayat): convert from madara to standalone plugin#2304
hamedhani1998 wants to merge 12 commits into
lnreader:masterfrom
hamedhani1998:feat-markazriwayat

Conversation

@hamedhani1998

Copy link
Copy Markdown
Contributor

Summary

  • Remove Markazriwayat from madara multisrc
  • Add as standalone plugin with custom HTML parsing
  • Support filters (status, sort), chapter AJAX loading
  • WordPress REST API search with fallback to HTML scraping

@hamedhani1998
hamedhani1998 force-pushed the feat-markazriwayat branch 2 times, most recently from 6ce76e0 to 733dfd7 Compare July 14, 2026 07:23
@K1ngfish3r

Copy link
Copy Markdown
Collaborator

rebase to master

@K1ngfish3r

Copy link
Copy Markdown
Collaborator

after testing, it seems that all the chapters are not available on the main page
image
i cant read arabic, but you can probably try to find a link to obtain the chapters

@K1ngfish3r

Copy link
Copy Markdown
Collaborator
image

currently, no change to be seen
Requesting to convert to draft and request for review when ready

@K1ngfish3r

Copy link
Copy Markdown
Collaborator
image

the cover image is incorrect, but it does work

https://markazriwayat.com/page/1/?s=%D8%A7%D9%84%D8%B1%D9%88%D8%A7%D9%8A%D8%A7%D8%AA&post_type=novel,wp-manga
this search url looks incorrect

@K1ngfish3r

K1ngfish3r commented Jul 21, 2026

Copy link
Copy Markdown
Collaborator
image image

novel/start-with-an-invincible-immortal-emperor-and-create-the-first-sect-in-the-world/

what the fuck

this is source side, but LOL

@K1ngfish3r

K1ngfish3r commented Jul 21, 2026

Copy link
Copy Markdown
Collaborator
image

parseNovel works flawlessly now (i think)

just have to fix search and we are good to go

Technically, author still incorrect

@hamedhani1998

Copy link
Copy Markdown
Contributor Author
image parseNovel works flawlessly now (i think)

just have to fix search and we are good to go

Technically, author still incorrect

Finsh

@K1ngfish3r

Copy link
Copy Markdown
Collaborator

ok everything working perfectly now except for one thing i think
make version number back to 1.0.0
image
novel/%d9%84%d9%82%d8%af-%d9%83%d9%86%d8%aa-%d8%a8%d8%b9%d9%8a%d8%af%d9%8b%d8%a7-%d8%b9%d9%86-%d8%a7%d9%84%d9%84%d8%b9%d8%a8-%d9%84%d9%85%d8%af%d8%a9-%d8%b9%d8%b4%d8%b1%d8%a9-%d9%85%d9%84%d8%a7%d9%8a%d9%8a/%d8%a7%d9%84%d9%81%d8%b5%d9%84-2/
you have some hidden html here in the chapters, you can try removing them if you like or just ship 1.0.0

@hamedhani1998

Copy link
Copy Markdown
Contributor Author

rebase to master

finch @K1ngfish3r

Comment thread plugins/arabic/Markazriwayat.ts Outdated
Comment thread plugins/arabic/Markazriwayat.ts
Comment thread plugins/arabic/Markazriwayat.ts Outdated
Comment thread plugins/arabic/Markazriwayat.ts Outdated
Comment thread plugins/arabic/Markazriwayat.ts Outdated
Comment thread plugins/arabic/Markazriwayat.ts Outdated
Comment thread plugins/arabic/Markazriwayat.ts
Comment thread plugins/arabic/Markazriwayat.ts
yemen added 6 commits July 25, 2026 19:46
- REST API /wp-json/theam/v1/manga-chapters for full chapter loading
- per_page=100 for faster loading
- Handle 500 errors gracefully
- Custom HTML parsing for new site theme
- Convert Markazriwayat from madara multisrc to standalone plugin
- HTML-based chapter generation (fast, no extra API calls)
- Better cover/status/author/genre extraction
- Fallback to ch-row parsing
- Set version to 1.0.0 as requested by maintainer
- Add removal of hidden HTML elements in parseChapter
- Clean display:none, hidden, and .hidden elements
hamedhani1998 and others added 5 commits July 25, 2026 19:46
Co-authored-by: K1ngfish3r <26593485+K1ngfish3r@users.noreply.github.com>
Co-authored-by: K1ngfish3r <26593485+K1ngfish3r@users.noreply.github.com>
Co-authored-by: K1ngfish3r <26593485+K1ngfish3r@users.noreply.github.com>
Co-authored-by: K1ngfish3r <26593485+K1ngfish3r@users.noreply.github.com>
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.

2 participants