Improve example XML readability

This commit is contained in:
2026-01-04 13:35:09 -05:00
parent 8dd3dc49f2
commit 0029b32596
+31 -1
View File
@@ -1 +1,31 @@
<input><loadSeconds>1</loadSeconds><regex><![CDATA[<ce-search-result class=\\"card rounded-none bg-base-100 shadow-xl\\"><!----><!----><div class=\\"flex\\"><img alt=\\"Album art\\" loading=\\"lazy\\" class=\\"object-cover w-40\\" src=\\".*?\\"><!----><div class=\\"flex-grow p-3\\"><div class=\\"text-xl \[text-wrap:balance\] sm:text-2xl\\">(.*?)<\/div><!----><div><span class=\\"text-sm font-bold \[text-wrap:balance\] sm:text-base\\">Album:<\/span> (.*?)<\/div><div><span class=\\"text-sm font-bold \[text-wrap:balance\] sm:text-base\\">Genre:<\/span> .*?<\/div><div><span class=\\"text-sm font-bold \[text-wrap:balance\] sm:text-base\\">Year:<\/span> .*?<\/div><!----><\/div><\/div><ce-search-result-chart><div class=\\"collapse overflow-visible rounded-none border border-base-300 bg-base-200 collapse-close\\"><div class=\\"collapse-title flex flex-wrap items-center justify-end gap-3 rounded-none px-3 py-2\\"><div class=\\"mr-auto flex items-center gap-3\\"><div class=\\"swap swap-rotate cursor-pointer\\"><i class=\\"bi bi-chevron-down swap-off text-xl\\"><\/i><i class=\\"bi bi-chevron-up swap-on text-xl\\"><\/i><\/div><div class=\\"tooltip min-w-max\\"><img class=\\"w-16\\" .*?\\"><\/div><!----><\/div><div class=\\"flex flex-1 items-center gap-3\\" style=\\"flex-basis: 9rem;\\"><div class=\\"flex flex-wrap items-center gap-3 \[word-break:break-word\]\\"><div><div class=\\"footer-title mb-0\\">Charter:<\/div><a target=\\"_blank\\" class=\\"link-hover link\\" href=\\".*?\\">(.*?)<\/a><\/div>.*?for=\\"downloadVideos_(.*?)\\"]]></regex><flareSolverrURL>http://PLACEHOLDER:8191/v1</flareSolverrURL><maxFeedItems>10</maxFeedItems><feed><title><parent>Chorus Encore</parent><captureGroupIndex>1</captureGroupIndex></title><link><parent>https://www.enchor.us/</parent><captureGroupConnector>https://www.enchor.us/chart/</captureGroupConnector><captureGroupIndex>4</captureGroupIndex></link><description><parent>Latest YARG/CH charts published to Chorus Encore</parent><captureGroupConnector>Charter: </captureGroupConnector><captureGroupIndex>3</captureGroupIndex><captureGroupConnector> | Album: </captureGroupConnector><captureGroupIndex>2</captureGroupIndex></description><authorName><parent>Gamers</parent><captureGroupIndex>3</captureGroupIndex></authorName><authorEmail></authorEmail></feed></input>
<input>
<flareSolverrURL>http://PLACEHOLDER:8191/v1</flareSolverrURL>
<loadSeconds>1</loadSeconds>
<regex
><![CDATA[
<ce-search-result class=\\"card rounded-none bg-base-100 shadow-xl\\"><!----><!----><div class=\\"flex\\"><img alt=\\"Album art\\" loading=\\"lazy\\" class=\\"object-cover w-40\\" src=\\".*?\\"><!----><div class=\\"flex-grow p-3\\"><div class=\\"text-xl \[text-wrap:balance\] sm:text-2xl\\">(.*?)<\/div><!----><div><span class=\\"text-sm font-bold \[text-wrap:balance\] sm:text-base\\">Album:<\/span> (.*?)<\/div><div><span class=\\"text-sm font-bold \[text-wrap:balance\] sm:text-base\\">Genre:<\/span> .*?<\/div><div><span class=\\"text-sm font-bold \[text-wrap:balance\] sm:text-base\\">Year:<\/span> .*?<\/div><!----><\/div><\/div><ce-search-result-chart><div class=\\"collapse overflow-visible rounded-none border border-base-300 bg-base-200 collapse-close\\"><div class=\\"collapse-title flex flex-wrap items-center justify-end gap-3 rounded-none px-3 py-2\\"><div class=\\"mr-auto flex items-center gap-3\\"><div class=\\"swap swap-rotate cursor-pointer\\"><i class=\\"bi bi-chevron-down swap-off text-xl\\"><\/i><i class=\\"bi bi-chevron-up swap-on text-xl\\"><\/i><\/div><div class=\\"tooltip min-w-max\\"><img class=\\"w-16\\" .*?\\"><\/div><!----><\/div><div class=\\"flex flex-1 items-center gap-3\\" style=\\"flex-basis: 9rem;\\"><div class=\\"flex flex-wrap items-center gap-3 \[word-break:break-word\]\\"><div><div class=\\"footer-title mb-0\\">Charter:<\/div><a target=\\"_blank\\" class=\\"link-hover link\\" href=\\".*?\\">(.*?)<\/a><\/div>.*?for=\\"downloadVideos_(.*?)\\"
]]></regex>
<maxFeedItems>10</maxFeedItems>
<feed>
<title>
<parent>Chorus Encore</parent>
<captureGroupIndex>1</captureGroupIndex>
</title>
<link><parent>https://www.enchor.us/</parent>
<captureGroupConnector>https://www.enchor.us/chart/</captureGroupConnector>
<captureGroupIndex>4</captureGroupIndex>
</link>
<description>
<parent>Latest YARG/CH charts published to Chorus Encore</parent>
<captureGroupConnector>Charter: </captureGroupConnector>
<captureGroupIndex>3</captureGroupIndex>
<captureGroupConnector> | Album: </captureGroupConnector>
<captureGroupIndex>2</captureGroupIndex>
</description>
<authorName>
<parent>Gamers</parent>
<captureGroupIndex>3</captureGroupIndex>
</authorName>
<authorEmail />
</feed>
</input>