mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-14 08:15:55 +00:00
Extend OPML preferences pane, to provide more control of Export OPML
User is prompted for filename, and also whether to include settings.
Default filename is: TinyTinyRSS.opml
modules/pref-feeds.php
Prompt for output OPML filename (Default: TinyTinyRSS.opml )
opml.php
Modify to support passing in name=<filename>&settings=[0|1]
functions.js
Modify to support passing in name=<filename>&settings=[0|1]
This commit is contained in:
@@ -277,8 +277,9 @@ function gotoMain() {
|
||||
document.location.href = "tt-rss.php";
|
||||
}
|
||||
|
||||
function gotoExportOpml() {
|
||||
document.location.href = "opml.php?op=Export";
|
||||
function gotoExportOpml(filename, settings) {
|
||||
tmp = settings ? 1 : 0;
|
||||
document.location.href = "opml.php?op=Export&filename=" + filename + "&settings=" + tmp;
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user