that's a shame but understandable. I preferred the simplicity of Coracle over shopstr and not needing to switch over to another client. back in the day ebay had a weird little bulk listing tool, I'm wondering if my brain is too old to make something similar
Discussion
I made something for you: csv-importer.coracle.social
Let me know if that scratches your itch!
oh my gosh!!!! wow, thankyou!
I have a LOT to learn, this is possibly way over my head. The created at column is a date format? Expiry is an auto delete thing?
So next I should find out the structure of a nip-15 marketplace ad? and put this in the content field... if I wanted to post something for sale.
I'm very interested in the date bit, as a way of importing old instagram posts... have been fighting rss as an idea for that but too compliated for me
This would work great for importing stuff from instagram too. The format is tricky, just because nostr events have a million formats. There are also multiple formats for listings, Coracle's listings were actually NIP 99 classifieds (which are much simpler than nip 15).
To answer your question about created_at, they are second-resolution unix timestamps, which just means the number of seconds since Jan 1 1970. You should be able to format dates as timestamps in a normal spreadsheet program, for example Sheets: https://mixedanalytics.com/blog/convert-unix-timestamps-to-google-sheets-dates/ (just be sure to set it to seconds, not milliseconds, which is more common). Expiration is just an example, it's totally optional.
Here's another example that would work for classifieds:
kind,content,created_at,tags
30402,Look at my cool stuff,,"title,My Title","summary,A short summary","location,My Shop","price,30,USD"
Just copy that into a csv file and open it in numbers or whatever to edit, then export to csv before uploading. If you leave created_at empty, the importer will just use the current time.
hahahaahahha that is so amazing feels like the good old days of internet again :)
NIP 99 I always forget which way round, the simpler version didn't come first?
thankyou for all those tips, it's great stuff!
do you have a preferred editer? I posted a test note perfectly but I'm getting errors about the kind not being an integer when changing it. This is with google sheets and open office. If I use a plain text editor it works except I don't know the correct way to use more than one tag.
I'm trying to create a status update like this:
{
"kind": 30315,
"content": "Sign up for nostrasia!",
"tags": [
["d", "general"],
["r", "https://nostr.world"]
],
}
but an getting lots of extra "" and ] symbols generated from my bad guessing
I was doing it wrong, clearly! found the silly mistake. just stuck on the tags