Comments (29)
How do you install this extension? this is the tutorial. Could you show me the path
of your extension?
from xextension-newsassistant.
FreshRSS 1.20.2
from xextension-newsassistant.
- Could you show me the content of
/home/wwwroot/..../xExtension-NewsAssistant-main/i18n/gen.php
? It should be like this, and the valuegen.layout.title
is from here.
<?php
return array(
'action' => array(
'submit' => 'Submit',
'cancel' => 'Cancel',
'back' => 'Back',
'set_read' => 'Read',
),
'layout' => array(
'title' => 'The summary of Today'
),
'holder' => array(
'empty_content' => 'No news is a good news.'
)
);
- Have you already configured the extension? It looks like init function is not called.
![image](https://private-user-images.githubusercontent.com/6359152/267642867-ee085cea-6a70-4014-a183-ff5a7051a2d7.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjM0OTEzNTMsIm5iZiI6MTcyMzQ5MTA1MywicGF0aCI6Ii82MzU5MTUyLzI2NzY0Mjg2Ny1lZTA4NWNlYS02YTcwLTQwMTQtYTE4My1mZjVhNzA1MWEyZDcucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI0MDgxMiUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNDA4MTJUMTkzMDUzWiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9Y2ExYjdjZjM4OWVlZjViNjNlZWUyYjg2NzAyZDZhMjQ2MDIxYjk3NGVjYjk1Y2EwZjMyZWZiY2NiYzhlOWMyNCZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QmYWN0b3JfaWQ9MCZrZXlfaWQ9MCZyZXBvX2lkPTAifQ.b0CCMw0e6mUQ0kmlJJYD02b8_3esex5ETXPJVBCq7BM)
from xextension-newsassistant.
Could not fetch available extension from GitHub
It looks like you server could not access the website https://raw.githubusercontent.com/FreshRSS/Extensions/master/extensions.json
, so you could not open the configuration page of extensions, and it should be blank page.
from xextension-newsassistant.
Could not fetch available extension from GitHub
It looks like you server could not access the website
https://raw.githubusercontent.com/FreshRSS/Extensions/master/extensions.json
, so you could not open the configuration page of extensions, and it should be blank page.
I have already solved this problem. But it still cannot be used. Here is a screenshot
from xextension-newsassistant.
Modified 2 places
- Modify ext. field. prompt (?) to 总结一下,因为你是新闻编辑
- ['title '=>' The summary of Today 'is modified] to [' title '=>' 总结如下']
No other modifications have been made
from xextension-newsassistant.
Could not fetch available extension from GitHub
It looks like you server could not access the websitehttps://raw.githubusercontent.com/FreshRSS/Extensions/master/extensions.json
, so you could not open the configuration page of extensions, and it should be blank page.I have already solved this problem. But it still cannot be used. Here is a screenshot
It must be the problem that there is not any language of i18n
to match zh
. I would check it later, but PR is welcome :).
from xextension-newsassistant.
Could not fetch available extension from GitHub
It looks like you server could not access the websitehttps://raw.githubusercontent.com/FreshRSS/Extensions/master/extensions.json
, so you could not open the configuration page of extensions, and it should be blank page.I have already solved this problem. But it still cannot be used. Here is a screenshot
![]()
It must be the problem that there is not any language of
i18n
to matchzh
. I would check it later, but PR is welcome :).
OK.thank
from xextension-newsassistant.
Please update the version to 0.6 (just like how to install), and the display text would be correct.
from xextension-newsassistant.
1、It doesn't work
2、No log errors were found.
3. I will first delete the old version of the xExtension NewsAssistant main folder in the plugin
4. Then upload the new version 0.6 xExtension NewsAssistant main file to it
5. Where the UI was discovered. This includes fields such as openai, Max Tokens, Temperature, fields sent to OpenAI, number of articles read at once, Prompt, and model [automatically using version 0.5 configuration]. I don't know if it has an impact
from xextension-newsassistant.
from xextension-newsassistant.
After the API is created.Still not working
from xextension-newsassistant.
The problem should be the usage
of this extension, it's designed to summary a category feeds, like this:
It may be not friendly and non-straight what I would improve the user experience.
If this is not the problem, you should take a screen capture or record to show you steps to reproduct the problem.
from xextension-newsassistant.
from xextension-newsassistant.
You should set the debug status and share the log file to see what happens.
from xextension-newsassistant.
Could you show me the query param of the URL? like this:
- <you_domain>/i/?c=assistant&a=summary&cat_id=6&state=2
- <you_domain>/i/?c=assistant&a=stream&cat_id=6&state=2
It should read the articles fail.
from xextension-newsassistant.
https://***/p/i/?c=assistant&a=summary&cat_id=7&state=2
from xextension-newsassistant.
You should set the debug status and share the log file to see what happens.
No log errors were found。it was empty.
from xextension-newsassistant.
I am using the PostgreSQL database。Because there is too much content. The efficiency of using MySQL is very low
from xextension-newsassistant.
Clicking the Set as Read button does not take effect
from xextension-newsassistant.
- There are log files in the
/home/www/....../freshrss/data/log
directory or/home/www/...../freshrss/data/www/freshrss/data/users/<you username>/log.txt
- It should have nothing to do with the database
Set as Read
button would work when fetching the articles like that:
![image](https://private-user-images.githubusercontent.com/6359152/268423658-530ddc88-94c0-45be-a3ec-082cbb2ee322.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjM0OTEzNTMsIm5iZiI6MTcyMzQ5MTA1MywicGF0aCI6Ii82MzU5MTUyLzI2ODQyMzY1OC01MzBkZGM4OC05NGMwLTQ1YmUtYTNlYy0wODJjYmIyZWUzMjIucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI0MDgxMiUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNDA4MTJUMTkzMDUzWiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9OWNiNTgxNzgxNTE3NzZkMjNiMmE4MzYwZWQ2NTljODM2OGRhMDBmN2VhOGViNDcyY2MwNTk1ODU2ZGI4YTBkNCZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QmYWN0b3JfaWQ9MCZrZXlfaWQ9MCZyZXBvX2lkPTAifQ.F3qNmBN0apdpieTOZUua9kidQnTMzFAaxepH-EFPUiE)
from xextension-newsassistant.
from xextension-newsassistant.
Found something. I found that the configuration of News Assistant is written in data/config.php
But other plugins seem to not write the configuration here.
from xextension-newsassistant.
- First of all you should check it set the
development
status in your service on yourdata/config.php
, then check the nginx or apache log which depends on your server, somethings like that:
![image](https://private-user-images.githubusercontent.com/6359152/268443676-c765aad9-8db3-4c68-a033-a877fbd7e410.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjM0OTEzNTMsIm5iZiI6MTcyMzQ5MTA1MywicGF0aCI6Ii82MzU5MTUyLzI2ODQ0MzY3Ni1jNzY1YWFkOS04ZGIzLTRjNjgtYTAzMy1hODc3ZmJkN2U0MTAucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI0MDgxMiUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNDA4MTJUMTkzMDUzWiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9ZWVhNzVhYTM0ZGMzYzNlMGQ3MTcyODVkNmU3YzZiZGUzMDZjZDI4OWM0M2YyNDEwZTNkYzdhYzllNzZjNjM4YiZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QmYWN0b3JfaWQ9MCZrZXlfaWQ9MCZyZXBvX2lkPTAifQ.H1RY-LP0CSqjI-Dv29w2g9DVmh2kOuz00eV3mp5j3vs)
- I make this extension to be system level extension, so the configuration would be written in
data/config.php
Reference
https://freshrss.github.io/FreshRSS/en/admins/logs_and_errors.html
from xextension-newsassistant.
- First of all you should check it set the
development
status in your service on yourdata/config.php
, then check the nginx or apache log which depends on your server, somethings like that:2. I make this extension to be system level extension, so the configuration would be written in `data/config.php`
Reference
https://freshrss.github.io/FreshRSS/en/admins/logs_and_errors.html
121.8.. - - [18/Sep/2023:09:30:39 +0800] "GET /p/i/?c=assistant&a=summary&cat_id=7&state=2 HTTP/2.0" 200 2756 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/109.0.0.0 Safari/537.36"
121.8.. - - [18/Sep/2023:09:30:39 +0800] "GET /p/ext.php?f=xExtension-NewsAssistant-main%2Fstatic%2Fstyle.css&t=css&1694678627 HTTP/2.0" 200 431 "https://f.*.com/p/i/?c=assistant&a=summary&cat_id=7&state=2" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/109.0.0.0 Safari/537.36"
121.8.. - - [18/Sep/2023:09:30:39 +0800] "GET /p/ext.php?f=xExtension-NewsAssistant-main%2Fstatic%2Fscript.js&t=js&1694678627 HTTP/2.0" 200 980 "https://f.*.com/p/i/?c=assistant&a=summary&cat_id=7&state=2" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/109.0.0.0 Safari/537.36"
121.8.. - - [18/Sep/2023:09:30:40 +0800] "GET /i/?c=assistant&a=stream&cat_id=7&state=2 HTTP/2.0" 404 548 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/109.0.0.0 Safari/537.36"
from xextension-newsassistant.
My webpage address is:
https://.com/p/i/?c=assistant&a=summary&cat_id=7&state=2
no
https://.com/i/?c=assistant&a=summary&cat_id=7&state=2
Attention P
from xextension-newsassistant.
My webpage address is: https://.com/p/i/?c=assistant&a=summary&cat_id=7&state=2 no https://.com/i/?c=assistant&a=summary&cat_id=7&state=2
Attention P
this new version would solve your problem.
from xextension-newsassistant.
I experience (what I think is) this issue too:
from xextension-newsassistant.
I experience (what I think is) this issue too:
which version do you use? what are the error logs?
from xextension-newsassistant.
Related Issues (20)
- handle the curl error
- signaling a seemingly better way to summarize news? HOT 1
- Use `/v1/chat/completions` api
- 能否做一个翻译的功能? HOT 3
- no whitespace
- [feature]OPENAI_API_BASE support HOT 10
- Compatible with different pathnames like `/p/i/`
- Groq AI support HOT 2
- Can Markdown be used for rendering during the final output. Easy to read HOT 1
- Gemini AI support HOT 6
- No output HOT 1
- Include hyperlinks within the summary content to facilitate navigation to desired entries.
- Telegram bot notification
- Tag the feeds
- [Request to add feature]: Automatically refresh summary HOT 3
- [Request to add feature]:Add original article links to the summary page
- [Request to add feature]On the summary page, provide a separate summary button for the content:
- Ollama Support? HOT 4
- Cannot get this to work..any help is appreciated... HOT 7
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from xextension-newsassistant.