test post EDIT
You were mentioned in: https://thunix.net/~skinshafi/twtxt.txt#:~:text=2024-12-02T04:56-07:00
(#6xuvs6a) @sorenpeter@darch.dk I was hoping your script could help solve our pubnix usersā
Discovrabilitydilemma, but either Iām doing something wrong or (maybe) we have some PHP module(s) missing. I gave it a try and it returns the twtxt file content as expected when visited directly, yet thereās no logs/log files created. + Iām still not sure why my htaccess redirection doesnāt work xā) ⦠Will keep you posted.
@sorenpeter@darch.dk I was hoping your script could help solve our pubnix usersā Discovrability dilemma, but either Iām doing something wrong or (maybe) we have some PHP module(s) missing. I gave it a try and it returns the twtxt file content as expected when visited directly, yet thereās no logs/log files created. + Iām still not sure why my htaccess redirection doesnāt work xā) ⦠Will keep you posted.
Yes it work: 2024-12-01T19:38:35Z twtxt/1.2.3 (+https://eapl.mx/twtxt.txt; @eapl) :D
The .log is just a simple append each request. The idea with the .cvs is to have it tally up how many request there have been from each client as a way to avoid having the log file grow too big. And that you can open the .cvs as a spreadsheet and have an easy overview and filtering options.
Access to those files are closed to the public.
did it work? I tried loading the file from /twtxt.txt, /twtAgent.php and /twtAgent2.php
Also reading the code, I see it creates two files, but Iām not sure which you are using now:
http://darch.dk/twtAgent.log <- 403 Forbidden
and
http://darch.dk/twtAgent.csv <- Not found here
My twtAgent.php was turned off, so try again now. I have uploaded the code to: https://github.com/sorenpeter/twtAgent
I sent a few local tests, could you help me check if you see https://eapl.mx/twtxt.txt in your log file?
If you want more eyes on the agent, you can tell tell me, as I was thinking on something similar to catch those āfollowing requestsā.
@eapl.mx@eapl.mx Yes, the idea is to add User Agent support to #Timeline.
Right now it just adds every request to a growing log file, but I have also been working on a way to analyse it, so it only saves the time of the latest request.
Iām not sure how to make it part of timeline itself, since it requeses that you redirect/rewrite from twtAgent.php to the acctual twtxt.txt
Help with making Timeline send proper User Agents to others would be much appreciated:)
BTW, researching on that I found that @prologic was working on the following https://git.mills.io/yarnsocial/useragent#supported-user-agent-formats
I wasnāt aware of a few User-Agent Formats.
And Iām checking that timeline is not sending those headers. I should push a change on that soon.