Very cool! How do you want feedback on this? If the intention really is a usable "GG to TW" then this is a big project and perhaps it'd make sense with discussion on gh?
Is there possibility to tiddlify individual posts and e.g tag them with the thread title? ..which also means the mechanism would need to invent some kind of title for the posts. And do you have any thoughts on how it would all be stored? I understand if the actual storing is not part of your project but maybe you have some thoughts about how it had best be done? <:-) On Tuesday, June 15, 2021 at 3:00:02 AM UTC+2 [email protected] wrote: > Fixed the illegible text issue! I added a few replace() and got rid of the > method to escape I was using. Just tested the TW import, and works > perfectly! Of course, this could all change if there happens to be a > character that the program doesn't escape somewhere in the GG. However, I > deem this rare, as I don't think there are any chars that I've forgot. Keep > me informed of any issues; I intend to make the UI better soon. > > P.S.: I have encountered a crash in Chrome upon running the program. If > anyone else has the issue, it is the program. So far, however, I'm thinking > it's just my PC, as Chrome doesn't seem to like my outdated Linux version :) > > On Sunday, June 13, 2021 at 9:50:36 PM UTC-4 Finn Lancaster wrote: > >> Yes. The 90 into 28 is taking into account responses to the >> conversations, which will lower the count. GG just likes to make things >> difficult, so it split them all up. Since the loading thing was not planned >> for at first, I just connected it to my counter variable that is added to >> after every successful request, hence the 90. In the code, there is an if >> statement with a comment "code goes here." In the future, this part will >> deal with the repeats. >> >> On Sunday, June 13, 2021 at 8:59:51 PM UTC-4 [email protected] wrote: >> >>> Random chars as you also found. But that was not the only thing. 90 of >>> 90 conversations ended up in 28 imported tiddlers. >>> >>> The good news is that it kind of worked - as I am using a low end 12 >>> year old laptop with 8 gb ram. >>> >>> Birthe >>> On Monday, June 14, 2021 at 2:39:23 AM UTC+2 [email protected] wrote: >>> >>>> Huh. Mine always glitches-out before TW successfully imports, so I've >>>> never seen the actual output in TW. I'd always assumed it would have no >>>> issues, since I've run the code through various JSON-checking sites, and >>>> it >>>> has been labeled valid. Were the words legible with just random chars in >>>> between, or was it just a jumble? >>>> >>>> On Sunday, June 13, 2021 at 7:36:17 PM UTC-4 [email protected] >>>> wrote: >>>> >>>>> I did get 90/90 conversations - it really did not take that long.I >>>>> exported the json and tried to drag and drop it into my tiddlywiki. It >>>>> worked - but totally unreadable. >>>>> >>>>> Still it is exciting news. What a good idea you had. >>>>> >>>>> Birthe >>>>> On Sunday, June 13, 2021 at 10:37:35 PM UTC+2 [email protected] >>>>> wrote: >>>>> >>>>>> Strange, it works for me. I added a loading message telling of how >>>>>> many conversations were successfully loaded. If it stays at 0/90, then >>>>>> it >>>>>> is truly an issue. Possibly it was just taking a long time (takes around >>>>>> a >>>>>> minute generally to fully finish, I find.) Let me know if it helps you! >>>>>> >>>>>> *Another idea could be to clear history, cookies, etc. for all time, >>>>>> and try again. If this works, it is an issue with the CORS proxy API I >>>>>> am >>>>>> using. * >>>>>> >>>>>> To address Mat, yes, it does scrape the GG FIRST page (1-90 >>>>>> conversations, but some repeats). The output is an array of valid JSON >>>>>> data, which is recognized by TW as JSON tiddlers, and TW will then >>>>>> import >>>>>> them (drag and drop works best). >>>>>> >>>>>> On Sunday, June 13, 2021 at 1:42:35 PM UTC-4 TiddlyTweeter wrote: >>>>>> >>>>>>> Ciao flanc... >>>>>>> >>>>>>> The idea sounds neat! Unfortunately nothing happens for me :-(. I >>>>>>> get this but no results appear on click ... :-( ... >>>>>>> >>>>>>> >>>>>>> [image: Screenshot 2021-06-13 194045.jpg] >>>>>>> >>>>>>> Best wishes >>>>>>> TT >>>>>>> >>>>>>> -- You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/76f6c77b-f766-47a3-9614-67e8f03dc73fn%40googlegroups.com.

