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

RSS mit SimpleXML #56

Merged
merged 10 commits into from
Jan 1, 2024
Merged

RSS mit SimpleXML #56

merged 10 commits into from
Jan 1, 2024

Conversation

skerbis
Copy link
Member

@skerbis skerbis commented Dec 31, 2023

und

mit rex_response
sowie clear outputbuffer

skerbis and others added 2 commits December 31, 2023 18:02
und 

mit rex_response
sowie clear outputbuffer
@skerbis skerbis requested a review from alxndr-w December 31, 2023 17:14
@skerbis skerbis requested a review from eaCe December 31, 2023 18:34
@alxndr-w
Copy link
Member

alxndr-w commented Jan 1, 2024

Als Erinnerungshilfe für mich:
https://stackoverflow.com/questions/4803063/whats-the-difference-between-phps-dom-and-simplexml-extensions

Side-note
People often wonder/ask what extension they should use to handle their XML or HTML content. Actually the choice is easy because there isn't much of a choice to begin with:

if you need to deal with HTML, you don't really have a choice: you have to use DOM
if you have to do anything fancy such as moving nodes or appending some raw XML, again you pretty much have to use DOM
if all you need to do is read and/or write some basic XML (e.g. exchanging data with an XML service or reading a RSS feed) then you can use either. Or both.
if your XML document is so big that it doesn't fit in memory, you can't use either and you have to use XMLReader which is also based on libxml2, is even more annoying to use but still plays nice with others

Copy link
Member

@alxndr-w alxndr-w left a comment

Choose a reason for hiding this comment

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

Siehe einzelne Kommentare

@skerbis skerbis removed the request for review from eaCe January 1, 2024 19:18
@alxndr-w alxndr-w merged commit 39e7576 into main Jan 1, 2024
1 check passed
@alxndr-w alxndr-w deleted the skerbis-rss-simpleXML branch January 1, 2024 19:55
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