Create readme
This commit is contained in:
commit
1a1c3df739
1 changed files with 14 additions and 0 deletions
14
Readme.txt
Normal file
14
Readme.txt
Normal file
|
|
@ -0,0 +1,14 @@
|
||||||
|
## Db Query for opml
|
||||||
|
|
||||||
|
SELECT
|
||||||
|
'<outline type="rss" '
|
||||||
|
|| 'text="' || name || '" '
|
||||||
|
|| 'title="' || name || '" '
|
||||||
|
|| 'xmlUrl="https://www.youtube.com/feeds/videos.xml?channel_id=' || substr(url, instr(url, 'UC')) || '" '
|
||||||
|
|| 'htmlUrl="' || url || '" '
|
||||||
|
|| 'language="fr" '
|
||||||
|
|| 'image="' || avatar_url || '"'
|
||||||
|
|| ' />' AS outline_xml
|
||||||
|
FROM main.subscriptions
|
||||||
|
where url like '%youtube%'
|
||||||
|
ORDER BY service_id, name;
|
||||||
Loading…
Add table
Add a link
Reference in a new issue