-
Notifications
You must be signed in to change notification settings - Fork 344
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
Cannot export OPML #1438
Comments
Thanks for reporting, this sounds like https://github.com/fossar/selfoss/blob/2.19/src/controllers/Opml/Export.php#L150 |
In #1439, I have fixed what I think is the issue and new development build with the fix should be available shortly. If you do not want to update yet, you can apply the following patch, which will omit the selfoss-specific color metadata when not available: --- a/src/controllers/Opml/Export.php
+++ b/src/controllers/Opml/Export.php
@@ -147,6 +147,7 @@ class Export {
$this->writer->writeAttribute('title', $tag);
$this->writer->writeAttribute('text', $tag);
+ if (isset($tagColors[$tag]))
$this->writer->writeAttributeNS('selfoss', 'color', null, $tagColors[$tag]);
foreach ($children as $source) { |
Hello, I confirm that the patch works \0/ |
Hello,
When i try to export my RSS feed on the web U.I the request failed and i have this following error in log :
[proxy_fcgi:error] [pid 243725] [client 12.34.56.78:59634] AH01071: Got error 'PHP message: Undefined array key "Youtube"PHP message: [selfoss/src/controllers/Opml/Export.php:150] Base->{closure}()PHP message: [selfoss/index.php:155] controllers\\Opml\\Export->export()PHP message: [selfoss/vendor/bramus/router/src/Bramus/Router/Router.php:440] Bramus\\Router\\Router->invoke()PHP message: [selfoss/vendor/bramus/router/src/Bramus/Router/Router.php:287] Bramus\\Router\\Router->handle()PHP message: [selfoss/index.php:170] Bramus\\Router\\Router->run()'
Selfoss : 2.19
PHP (FPM): 8.1.2
Database : mysql Ver 15.1 Distrib 10.3.38-MariaDB
The text was updated successfully, but these errors were encountered: