So, as I said previously, I want to add metadata to icons, especially 
"aliases", but I don't know what is the better method: 


   - to add them as tags or 
   - as a list in a field called "aliases". 
   - or maybe both?
   

What do you think? 

On Sunday, February 21, 2021 at 1:24:01 PM UTC+2 [email protected] wrote:

> @Pit.W. Thanks a lot Pit! I feel a little embarrassed to be honest. After 
> all, ANYONE can accomplish this with a little effort and knowledge (just a 
> little). But thanks anyway! I'm glad that you (and others) find my work 
> useful. I consider this my tribute to TiddlyWiki app and its creators and 
> also to our community. 
>
> @Mat And it may become even crazier! ;)
>
> @Joshua You're welcome! I also have discovered metadata for some of the 
> libraries, but I was thinking of an universal catalog. I want to add 
> metadata for the entire library, at least for generic icons (e.g. house, 
> book, people etc.) and their variants. And I want to do it in a single 
> operation, with big JSON file that contain all the icons.
>
> On Sunday, February 21, 2021 at 2:24:21 AM UTC+2 [email protected] 
> wrote:
>
>> Awesome, thank you for the example data file.
>>
>> I have meta-data available for a few of the libraries I was experimenting 
>> with. For example, for GameIcons.net (which I think you have imported), 
>> their website-catalog has tags for all the icons. I used Node and an 'R' 
>> script to manually download and partse each web-page, extract the meta-data 
>> (tags, etc), and then append that to the final Tiddler data. (Repo: 
>> https://github.com/joshuafontany/TW5-SVG-Scripts).
>>
>> This allowed me to extract, for example, the below block of the
>>
>> ```
>> caption: police-badge
>> description: Symbol of law enforcement. The best moment to show it, it's 
>> to shout "FBI" and break the door with a kick.
>> name: andymeneely/police-badge
>> tags: $:/tags/Icon police shield symbol
>> title: $:/icons/gameicons/andymeneely/police-badge
>> type: 
>> ```
>>
>> I have that for the whole library. The FontAwesome5 svg files also have a 
>> separate meta-data YAML file that I parsed for the meta-data.
>>
>> I will clone your repo and see how I can integrate the meta-data I have 
>> available!
>>
>> Best,
>> Joshua Fontany
>> On Thursday, February 18, 2021 at 5:39:14 AM UTC-8 [email protected] 
>> wrote:
>>
>>> @Joshua As I said before, I've processed the original SVG files with 
>>> some scripts made in Windows 10 Powershell. All operations are done with 
>>> PowerShell: creating files, replacing content, creating the TiddlyWiki 
>>> formal structure and adding content. The final output is a JSON file which 
>>> includes an array of JS objects (every object is an icon). You can see 
>>> below an example:
>>>
>>> {
>>> "title":"$:/images/google-material-design/action/filled/18px/star-rate",
>>> "tags":"$:/tags/Image Icons Images SVG",
>>> "caption":"star-rate",
>>> "collection":"filled",
>>> "category":"Action",
>>> "library":"Google Material Design",
>>> "library_version":"5.9.55",
>>> "text":"<svg width=\"22pt\" height=\"22pt\" 
>>> class=\"tc-image-gmd-star-rate tc-image-button\" viewBox=\"0 0 18 18\" 
>>> width=\"18\"><path d=\"M9 11.3l3.71 2.7-1.42-4.36L15 7h-4.55L9 2.5 7.55 
>>> 7H3l3.71 2.64L5.29 14z\"/><path d=\"M0 0h18v18H0z\" fill=\"none\"/></svg>"
>>> }
>>> On Thursday, February 18, 2021 at 3:25:32 PM UTC+2 [email protected] 
>>> wrote:
>>>
>>>> @Joshua Thanks! Can you explain in more detail what you have in mind? I 
>>>> didn't understand very well. I need aliases for icons. I found this kind 
>>>> of 
>>>> metadata for some of the libraries but I didn't include it yet.
>>>>
>>>> On Thursday, February 18, 2021 at 1:35:47 AM UTC+2 [email protected] 
>>>> wrote:
>>>>
>>>>> Super impressed with how this has come together. I'll have to review 
>>>>> how you are preparing the tiddler files, and add in some of the libraries 
>>>>> that I have scraped meta-data for. Thanks!
>>>>>
>>>>> On Wednesday, February 17, 2021 at 2:26:45 PM UTC-8 [email protected] 
>>>>> wrote:
>>>>>
>>>>>> @Birthe You're welcome!
>>>>>>
>>>>>> On Thursday, February 18, 2021 at 12:22:08 AM UTC+2 
>>>>>> [email protected] wrote:
>>>>>>
>>>>>>> Thank you so much for this wonderful resource. Also for reminding 
>>>>>>> us, to save a local copy. 29.2mb to be precise.
>>>>>>>
>>>>>>>
>>>>>>> Birthe
>>>>>>> onsdag den 17. februar 2021 kl. 22.48.32 UTC+1 skrev 
>>>>>>> [email protected]:
>>>>>>>
>>>>>>>> @TiddlyTweeter Thank you very much! It means a lot! :)
>>>>>>>>
>>>>>>>> My suggestion for you all is to make personal copies of the site 
>>>>>>>> versions as backup in case I will not be able to ensure the 
>>>>>>>> availability of 
>>>>>>>> the site (and the content) in the future, so one can restore it to 
>>>>>>>> another 
>>>>>>>> public location. Now it is a free and open community resource, so 
>>>>>>>> anyone 
>>>>>>>> can do that. Also you can use it as an offline version in case of 
>>>>>>>> internet 
>>>>>>>> connection failure. It's only about 30 MB. 
>>>>>>>>
>>>>>>>> On Wednesday, February 17, 2021 at 9:12:31 PM UTC+2 TiddlyTweeter 
>>>>>>>> wrote:
>>>>>>>>
>>>>>>>>> [email protected] wrote:
>>>>>>>>>
>>>>>>>>>> A new version of *"TW Icons"* is available !!!
>>>>>>>>>>
>>>>>>>>>> *v1.1 *(https://morosanuae.github.io/tw-icons) now with a total 
>>>>>>>>>> of *~25000 icons*. 
>>>>>>>>>>
>>>>>>>>>> *Features*: 
>>>>>>>>>>
>>>>>>>>>>    -  The *"Google Material Design"* library was added. More 
>>>>>>>>>>    libraries are on the way, so stay tuned! :
>>>>>>>>>>
>>>>>>>>>> WHOAH !!! That is now a super useful resource! Way better, 
>>>>>>>>> actually, than most any SVG online libraries.
>>>>>>>>> And the fact you prepared, via scripts, all the icons to be 
>>>>>>>>> immediately usable in TW is illustrative of your skill in programming.
>>>>>>>>>
>>>>>>>>> I think it is a major achievement! 
>>>>>>>>>
>>>>>>>>> And, given the vast scale of it now, I'm amazed at its GOOD 
>>>>>>>>> performance.
>>>>>>>>> So it is also concrete testament that with good data design TW can 
>>>>>>>>> be well performative at scale. 
>>>>>>>>>
>>>>>>>>> All hats off. 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/d6159df1-8a1b-46da-baf4-1bfe789f9d40n%40googlegroups.com.

Reply via email to