Commit Graph

27 Commits

Author SHA1 Message Date
thunder2
571f709b50 FeedReader: The feed can be used as source for board 2023-05-06 20:36:05 +02:00
thunder2
ecffb3cb7f FeedReader: Fixed download of favicon 2023-05-06 20:36:04 +02:00
thunder2
c90ea518c5 FeedReader: Fixed embedding of images with https 2023-04-10 21:17:49 +02:00
thunder2
026cadfe13 Fixed compile of FeedReader plugin 2020-11-08 23:03:09 +01:00
csoler
456845fc8c
fixed licenses in FeedReader 2018-11-11 14:24:46 +01:00
csoler
d0039241d3 replaced usleep() by rstime::rs_usleep() which accepts times >= 1 sec. Should fix problems on windows 2018-01-27 20:22:31 +01:00
Phenom
76f7573659 Fix Clang warnings: comparison of array != a null pointer is always true
warning: comparison of array 'known_zones[i].tzName' not equal to a null
pointer is always true [-Wtautological-pointer-compare]
                        for (int i=0; known_zones[i].tzName != 0; i++) {
2017-04-17 21:58:19 +02:00
Phenom
674b6de381 Fix Some gcc warnings 383 to 208 lines
Left explicit #warning and deprecated.
Some lines are wrong indented and produce mal formed code.
2016-11-30 22:01:01 +01:00
csoler
927f782bef pass over compiler warnings 2016-06-05 10:43:57 -04:00
thunder2
504bbc00f1 Fixed memory leak in p3FeedReaderThread::processXPath.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8460 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-06-14 23:39:05 +00:00
csoler
e9b9dce9f5 created 2 subclasses of RsThread, one for ticking services, and one for single shot jobs. Now all threads use the same base code.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8288 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-05-22 20:54:38 +00:00
thunder2
31962ea0c5 FeedReader plugin:
- Added check of feed parent id in loadList
- Trimmed downloaded xml string to process xml strings with leading spaces

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7359 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-05-09 23:12:03 +00:00
thunder2
dddc4356f1 Changes for Windows compile:
- removed some unnecessary libraries from retroshare_plugin.pri
- FeedReader
  - updated external libraries to libxml2-2.9.1 and curl-7.34.0
  - enabled ssl in libcurl
  - removed debug output

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6976 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-12-28 23:49:50 +00:00
thunder2
ef49000b9a FeedReader:
- Added error handling to xml functions
- Added xslt transformation
- Added retransform of existing messages
- Redesigned preview dialog
- Enabled embed images for forum feeds
- Changed config format, switching back to an older version results in a loss of all data of the FeedReader

Added new base class RSPlainTextEdit with placeholder text.
New library libxslt needed

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6081 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-01-22 00:11:43 +00:00
thunder2
13f2863569 FeedReeder:
- Fixed memory leak in xpath processing
- Stop long loops when closing the preview dialog or shutdown
- Added drag and drop to xpath lists in preview dialog
- Fixed save of xpaths lists

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6074 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-01-16 23:20:47 +00:00
thunder2
6f7c424b1f FeedReader:
- Fixed process of pubDate

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6070 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-01-11 16:33:16 +00:00
thunder2
3df3850655 FeedReader:
- Added favicon

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6069 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-01-10 22:51:04 +00:00
thunder2
edd8a2c0ec Added patch from AsamK
- Support link in attribute href of the link node, e.g. <link href="..." />

Support author in creator node

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6068 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-01-09 12:17:05 +00:00
thunder2
e099389528 FeedReader:
- Fixed crash when removing a feed displayed in the main tab.
- Fixed reading author of ATOM feeds.

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6057 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-01-02 21:02:39 +00:00
thunder2
c44d10a6a1 FeedReader:
- Changed compare of node names to case insensitive. More feeds should be supported now.
- added ATOM format

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6056 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-01-02 20:18:42 +00:00
thunder2
0f26b85a88 FeedReader:
- Remove "sid=" from link
Moved stringToUpperCase and stringToLowerCase from rsinit.cc to util/rsstring.cc


git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6029 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2012-12-22 21:01:45 +00:00
thunder2
5f27f64ad3 FeedReader:
- enabled for Windows compile
- removed internal stylesheets
- added missing header for Linux compile

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6014 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2012-12-18 13:41:36 +00:00
thunder2
c7ed9c6df7 FeedReader plugin
- reserved service id
- reworked error codes
- added xpath manipulation and basic gui elements in preview dialog

git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.5-gxs-b1@5514 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2012-09-04 23:53:04 +00:00
thunder2
f51af0d4de FeedReader plugin:
- added new classes for XML/HTML parse and modify
- added basic error handling
- added new GUI for a preview and a tree to show the structure of the page (will be continued)

git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.5-gxs-b1@5412 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2012-08-13 21:35:11 +00:00
thunder2
148d1310a2 Added new button to open the link of the message in browser or copy the link of the message.
Added "RSS: " for the forum feeds.
Parse the feedburner:origLink in the rss feed.
Moved download functions to a new class CURLWrapper for easy use.
Added two new functions (currently only for local feeds for testing):
- embed images into the message (works for Qt 4.7 and higher)
- save complete web page

git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.5-gxs-b1@5399 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2012-08-10 18:06:29 +00:00
thunder2
f710dba2c6 FeedReader plugin:
- fixed compile on Linux
- added compatibility with iconv

git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.5-gxs-b1@5378 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2012-08-04 01:15:40 +00:00
thunder2
09b5d7a8c6 Added the first version of the FeedReader plugin.
Added a new method to RsPlugInInterfaces to stop the plugins at shutdown of RetroShare.


git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.5-gxs-b1@5372 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2012-08-02 13:17:53 +00:00