#dev 2022-10-09

2022-10-09 UTC
lagash and [tw2113_Slack_] joined the channel
#
GWG
Trying to figure out what a venue page should look like. Should it have a description?
geoffo and [fluffy] joined the channel
#
GWG
Okay, I have all the infrastructure for some Venue stuff, but haven't quite figured out the UI yet
#
GWG
Could use some UI inspiration. Can any post be associated with a venue or only check-in posts?
#
GWG
That's what I am debating
gRegorLove_ and tetov-irc joined the channel
#
capjamesg
[James_Van_Dyne] Would you mind reviewing indieweb-utils PRs 51 and 60? I think with those ready we'll have a v0.3.0 ready for release.
gRegorLove__ joined the channel
#
sknebel
Looks like it tries to match URLs (presumably for autolinking?)
#
capjamesg
Yeah. I was curious about its efficiency.
#
capjamesg
I'd like to add an auto # and @ feature to indieweb-utils.
#
capjamesg
I do this in my static site generator right now. But, my approach is not efficient.
#
capjamesg
What is the best way to automatically add links to @ and #. Regex?
#
capjamesg
My note string could be 10,000 chars long if it's an article.
barnaby and [KevinMarks] joined the channel
#
Loqi
[kevinmarks] cassis-autolink-py: Python port of a subset of Tantek Çelik's CASSIS
#
[KevinMarks]
Kyle and I ported Tantek's code, which deals well with punctuation and passing something in that already has links
capjamesg1 joined the channel
#
capjamesg1
Thanks!
#
capjamesg1
I am not going to reinvent the wheel.
[jeremycherfas] joined the channel
#
[jeremycherfas]
Is there a search term, or a starting point article, if I want to learn about searching documents for meaning rather than individual words?
#
[KevinMarks]
the 'what is a url?' regex might need updating - check against tanteks as that is a gnarly regex
#
[KevinMarks]
also, that links @ to twitter, so you may want to change that
#
GWG
capjamesg1: You shouldn't reinvent the wheel..my father always says he already did that
#
capjamesg
On further reflection, I'm not sure I am fully reinventing the wheel.
#
capjamesg
The intent here is to (1) allow autolinking *only* for tags you support and; (2) allow tagging to specified URLs and replace the tag with a provided identifier.
#
GWG
I'm still trying to figure out the venue UI design
gRegorLove_ joined the channel
#
capjamesg
Need any assistance GWG?
Seirdy joined the channel
#
capjamesg
[snarfed]++ on the launch of Brid.gy Micropub!
#
Loqi
[snarfed] has 19 karma in this channel over the last year (46 in all channels)
#
GWG
capjamesg: Do you have any thoughts?
geoffo, mro and [fluffy] joined the channel
#
capjamesg
GWG Where are you at right now with the UI?
#
capjamesg
Do you have anything live?
#
GWG
Sort of, it's a combination of legacy and new data structures
#
GWG
So, the post structure can have coordinates and a textual description.
#
GWG
There is a locality level structure I can attach to posts for coarse location
#
GWG
And now I built a venue data structure for a specific location
#
GWG
So that means a post can either have coordinates and a textual description independently, or derived from a location object that can reflect a locality, region or country, or derived from a new venue object
#
GWG
So, legacy is leading to a little confusion on how to address
#
GWG
I like the coarse and fine location structures though, for generating archives
#
GWG
capjamesg: Any thoughts?
#
Loqi
angelo has 12 karma in this channel over the last year (17 in all channels)
#
capjamesg
angelo++ coming again with succinct Regex options!
#
capjamesg
That structure makes sense GWG.
#
capjamesg
Do you plan to add more information to the venue pages? (i.e. a grid of your past photos at that venue, more location data from a source like Nominatim, etc.)
#
GWG
Only a list of posts to start, but eventually
#
@nezirzahirovic
A Ruby gem for sending Webmention notifications. (from 28/05/2020) #ruby #rubyonrails #developer #programming https://www.rubyonrails.ba/single/a-ruby-gem-for-sending-webmention-notifications
(twitter.com/_/status/1579177442656194560)
geoffo joined the channel
#
capjamesg
angelo Can I adapt that function into something for indieweb-utils (with attribution, of course).
#
angelo
you are currently defining user_supplied_tags as a redundant dict but only using it as a set.. use `user_supplied_tags = set(tags)`
#
angelo
are you going to extend this to use the bits in cassis.py ^
#
capjamesg
To what parts are you referring angelo?
#
capjamesg
The auto URL linker?
#
capjamesg
[KevinMarks] Do you / kylewm have any interest in pushing cassis.py to PyPi?
barnaby joined the channel
#
capjamesg
The most up to date code is in the PR now.
geoffo, barnaby and tetov-irc joined the channel
#
[KevinMarks]
I'm not adverse, if you want to put the docs together for it, go for it