Subject | Hash | Author | Date (UTC) |
---|---|---|---|
lurk: accept more possible MIME types | 851689d4324eea12e0c2ecca65557a130006d253 | Alex | 2022-07-22 23:58:37 |
pridat mezeru | 9e6e85bc191e313bbe842052bd92671bfece74c1 | Alex | 2022-07-21 02:18:44 |
add Readme file | 0a25299e82fc60cd3d4f2b1fdc0c7047b299bf78 | Alex | 2022-07-20 01:54:53 |
add LICENSE file | f073c68dbdfd517bdf39f2700369ecfb37f74a2d | Alex | 2022-07-19 10:12:47 |
IvoRSS: fix version number | 8488a8ae206d0ed23ed9a434e25db373168e36ed | Alex | 2022-07-19 10:09:34 |
clean up feeds | f53c9a65d7439041b12d204d1127026935baedf9 | Alex | 2022-07-19 09:59:11 |
IvoRSS: Ready to publish | abccdae2fe21522a92f2c92fbffb4cafec089f23 | Alex | 2022-07-19 09:41:44 |
track changes of Atom feeds by updated tag | 1c115173dd62c39d1fc50dc2e7b36da338a306ef | Alex | 2022-07-19 07:46:35 |
implement images opt-out | 6852d7d1c12f23487c2771f77fc8d17bc7f7a761 | Alex | 2022-07-19 06:57:56 |
implement image loading | b408a53d97f23784bbfc668eac663619a3afebe7 | Alex | 2022-07-19 06:27:44 |
implement channel link support | f2378ce83c04b95304c5ff21b14806edf90a2216 | Alex | 2022-07-19 01:26:03 |
bold unread articles (It wasn't planned before) | 35a66771b2285811a5c5f8adefafdda4d2bf4e38 | Alex | 2022-07-19 00:11:29 |
dodat i zmìny z IvoRSS | 78d71c13bd806cf849eb16d1a672aea5551b6b2c | Alex | 2022-07-18 02:14:12 |
totálnì hustej HTML parsing je implementován | eeba45d9811c83e9199d3a5929102c192e54b216 | Alex | 2022-07-18 02:11:49 |
add show source feature | 8c963667a609e9c91f5a94963786ca2e4a7f88a4 | Alex | 2022-07-17 03:46:17 |
IvoR: if parser falls, try to convert to utf-8 from system encoding | ea17d81bc65b6a5e79d202d5a6b36fcae854cc1b | Alex | 2022-07-17 02:33:02 |
feedtree: add Copy URL option to context menu | a9170b64e6b1bca22cb807a7afa0fe35b6611cbe | Alex | 2022-07-16 23:00:07 |
feedtree: keep track of the latest guid | fa1cf2508ade717fc3aa3bf8224a51b685e1636b | Alex | 2022-07-16 22:42:30 |
lurk: track parsed position, show meaningful status to user | 80ce4ada68e657b196b4e173747a873a54f33c36 | Alex | 2022-07-16 13:34:54 |
small fix, polo¾ky pøebarvíme v¾dycky | 6b408d667cb85f06e21767c6bbd77c2bfd9a2ac7 | Alex | 2022-07-16 04:05:04 |
File | Lines added | Lines deleted |
---|---|---|
lurk.hws | 31 | 26 |
File lurk.hws changed (mode: 100755) (index f39265c..ac49524) | |||
1 | 1 | ||
2 | 2 | Const #LURK_LISTVIEW = "foundfeeds" | Const #LURK_LISTVIEW = "foundfeeds" |
3 | 3 | ||
4 | MIME_types = {} | ||
5 | MIME_types["application/rss+xml"] = 1 | ||
6 | MIME_types["application/atom+xml"] = 1 | ||
7 | MIME_types["application/rdf+xml"] = 1 | ||
8 | MIME_types["application/xml"] = 1 | ||
9 | MIME_types["text/rss+xml"] = 1 | ||
10 | MIME_types["text/atom+xml"] = 1 | ||
11 | MIME_types["text/xml"] = 1 | ||
12 | |||
13 | |||
4 | 14 | lurk = {PleaseStop=True} | lurk = {PleaseStop=True} |
5 | 15 | ;č jako v celé té appce i zde se pevně zavážeme | ;č jako v celé té appce i zde se pevně zavážeme |
6 | 16 | ;č na struktury grafického rozhraní a jejich metody, | ;č na struktury grafického rozhraní a jejich metody, |
... | ... | Function lurkStartElement(p, name$, attrs) | |
166 | 176 | p:Stop() | p:Stop() |
167 | 177 | Return() | Return() |
168 | 178 | Case "link": | Case "link": |
169 | If HaveItem(attrs, "type") | ||
170 | Switch LowerStr(attrs.type) | ||
171 | Case "application/atom+xml": | ||
172 | FallThrough | ||
173 | Case "application/rss+xml": | ||
174 | Local item = {href="", title="", rel=""} | ||
175 | For i,v In Pairs(item) | ||
176 | If HaveItem(attrs, i) Then item[i] = attrs[i] | ||
177 | Next | ||
178 | /* | ||
179 | <column title="CanHas"/> | ||
180 | <column title="Address"/> | ||
181 | <column title="Title"/> | ||
182 | <column title="Relationship"/> | ||
183 | <column title="Type"/> | ||
184 | <column title="URL constructed"/> | ||
185 | */ | ||
186 | Local url$ = p_reconstructURL(p:getbase(), item.href) | ||
187 | mui.DoMethod(#LURK_LISTVIEW, "Insert", "Bottom", | ||
188 | lurk:CanHas(url$), | ||
189 | item.href, | ||
190 | item.title, | ||
191 | item.rel, | ||
192 | attrs.type, | ||
193 | url$) | ||
194 | EndSwitch | ||
179 | If HaveItem(attrs, "type") And HaveItem(MIME_types, attrs.type) | ||
180 | Local item = {href="", title="", rel=""} | ||
181 | For i,v In Pairs(item) | ||
182 | If HaveItem(attrs, i) Then item[i] = attrs[i] | ||
183 | Next | ||
184 | /* | ||
185 | <column title="CanHas"/> | ||
186 | <column title="Address"/> | ||
187 | <column title="Title"/> | ||
188 | <column title="Relationship"/> | ||
189 | <column title="Type"/> | ||
190 | <column title="URL constructed"/> | ||
191 | */ | ||
192 | Local url$ = p_reconstructURL(p:getbase(), item.href) | ||
193 | mui.DoMethod(#LURK_LISTVIEW, "Insert", "Bottom", | ||
194 | lurk:CanHas(url$), | ||
195 | item.href, | ||
196 | item.title, | ||
197 | item.rel, | ||
198 | attrs.type, | ||
199 | url$) | ||
195 | 200 | EndIf | EndIf |
196 | 201 | EndSwitch | EndSwitch |
197 | 202 | EndFunction | EndFunction |