Subject | Hash | Author | Date (UTC) |
---|---|---|---|
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 |
tree part is ready | 67d1bde2bcee775f23f8fc03cc474fd6b06c390b | Alex | 2022-07-16 03:28:08 |
finish feeds tree | deea8b12636ba4a19ee256629a9a2a9874baf9c1 | Alex | 2022-07-15 17:10:11 |
Explore window is ready... | 959e6dbf4fc77e315ac12847a481e25f50785ed4 | Alex | 2022-07-14 22:13:38 |
fixes in lurk code | d741423d070a4d51b76d270fac70e0b0c3d04035 | Alex | 2022-07-14 15:29:42 |
Clear explored list by inbuild function | 9ec9232bf28d0d83461e89fa89e8105983d5e3ba | Alex | 2022-07-14 14:09:54 |
implement URL constructing (complement URLs) | f4798ed246e9c6d4b1a611b48ed5a7eb28c8938d | Alex | 2022-07-14 01:16:31 |
parser part of Explore is ready | 87b01db3296eab71b2a510c4d0924127efac1a7f | Alex | 2022-07-13 22:36:39 |
prepare code for Explore | 76b6472a8ad28564a55c6bd39f55ba050dd3599f | Alex | 2022-07-13 19:05:02 |
advance Explore window by statusbar and Stop button | 8f7ae012ede287fc6e20fd5727fd215293c75b25 | Alex | 2022-07-13 17:24:24 |
prepare Explore window | 9da7bcfcc06c986dd4ece8813096a9086ad690fc | Alex | 2022-07-13 01:59:32 |
comment out Edit option: není na to podpora v MUI Royale. Posunout polo¾ky menu, aby kursor nedopadal poøad na Remove | 46c2f3cbbc2912eefb9504c7632f65ed57bc47e5 | Alex | 2022-07-12 23:14:48 |
fix code formatting for remove requesters | 535d4b6515a4744e0b6af6090daadbb85f38b8cf | Alex | 2022-07-12 23:04:43 |
implement adding of single feed | e938d0a6d769c7caf876dfdba9f43ce668eb4690 | Alex | 2022-07-12 22:05:10 |
implement group adding | d347e25e93e94f711c4098fecc9775af22eb7309 | Alex | 2022-07-12 20:12:00 |
make parser to work somehow | bb968a00680246434eb1f9795ebde4babea3fb05 | Alex | 2022-07-12 05:19:43 |
some preparations for parsing | 0259ef32db69fdb45bc9e67d88c74aca4ae69ce6 | Alex | 2022-07-12 03:59:45 |
prepare png icon | b7dc494acb640d92c5b7b49bc2ee93fd5a0d521c | Alex | 2022-07-11 07:17:47 |
File | Lines added | Lines deleted |
---|---|---|
feedtree.hws | 23 | 1 |
File feedtree.hws changed (mode: 100755) (index 929af40..966f871) | |||
... | ... | Function p_Fetch(url$) | |
277 | 277 | EndIf | EndIf |
278 | 278 | ||
279 | 279 | Local err_code = ?StringToFile(xml$, p_GetXMLname(url$)) | Local err_code = ?StringToFile(xml$, p_GetXMLname(url$)) |
280 | p_Replay(err_code, "\27".."5\27b" .. url$ .. " Updated!") | ||
280 | p_Replay(err_code, "Updated XML file saved") | ||
281 | 281 | If err_code = #ERR_NONE | If err_code = #ERR_NONE |
282 | ;č kolikrát weby dodají do RSS nějaký BuildDate, | ||
283 | ;č kterým se RSS formálně změní. | ||
284 | ;č Takže zde, na místě, když ještě máme xml v ruce, | ||
285 | ;č musíme rozhodnout, zda je v tom RSS doopravdy něco nového. | ||
286 | ;č Půjdeme podle guid. Když se změní, tak asi kvůli novému článku. | ||
287 | ;č Kódování nemusíme řešit, je to jen pro nás, | ||
288 | ;č žádný parser zde volat nebudeme. | ||
289 | Local guidpos = FindStr(xml$, "<guid", False, 0, #ENCODING_RAW) | ||
290 | Local guidsum = 0 | ||
291 | If guidpos > 0 | ||
292 | Local guidend = FindStr(xml$, "</guid", False, guidpos, #ENCODING_RAW) | ||
293 | Local len = guidend - guidpos | ||
294 | If len > 0 | ||
295 | guidsum = CRC32Str(MidStr(xml$, guidpos, len, #ENCODING_RAW)) | ||
296 | EndIf | ||
297 | EndIf | ||
298 | |||
299 | If fd_isEqualOrSet(url$, "guidsum", guidsum) | ||
300 | Return(#FEED_STATUS_SUCCESS) | ||
301 | EndIf | ||
302 | |||
303 | p_Replay(err_code, "\27".."5\27b" .. url$ .. " Updated!") | ||
282 | 304 | Return(#FEED_STATUS_NEW) | Return(#FEED_STATUS_NEW) |
283 | 305 | Else | Else |
284 | 306 | ;č Aha... Tak zpětně vynulujeme čeksumu, aby příště zkusil to uložit znovu | ;č Aha... Tak zpětně vynulujeme čeksumu, aby příště zkusil to uložit znovu |