You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I had to convert to Slobs some Stardict dictionaries with type identifier "x", that is, whose articles are in the XDXF format, so I implemented this feature by adding a read option to the Stardict plugin and using xdxf_to_html_transformer.
This feature might also be a write option in the Slob plugin though. I suspect converting articles from XDXF to HTML is a generic feature that may be useful for several readers or writers. From an architectural point of view, it might be better modelled as an intermediate filter between readers and writers, but it might not be a trivial job and would be overkill if there's no additional need for such filters.
Let me know what you think about that and if you would be interested in a PR implementing this feature either in the Stardict reader, or in the Slob writer.
The text was updated successfully, but these errors were encountered:
Hello!
I had to convert to Slobs some Stardict dictionaries with type identifier "x", that is, whose articles are in the XDXF format, so I implemented this feature by adding a read option to the Stardict plugin and using xdxf_to_html_transformer.
This feature might also be a write option in the Slob plugin though. I suspect converting articles from XDXF to HTML is a generic feature that may be useful for several readers or writers. From an architectural point of view, it might be better modelled as an intermediate filter between readers and writers, but it might not be a trivial job and would be overkill if there's no additional need for such filters.
Let me know what you think about that and if you would be interested in a PR implementing this feature either in the Stardict reader, or in the Slob writer.
The text was updated successfully, but these errors were encountered: