<table><tr><td style="">kossebau added a comment.
</td><a style="text-decoration: none; padding: 4px 8px; margin: 0 8px 8px; float: right; color: #464C5C; font-weight: bold; border-radius: 3px; background-color: #F7F7F9; background-image: linear-gradient(to bottom,#fff,#f1f0f1); display: inline-block; border: 1px solid rgba(71,87,120,.2);" href="https://phabricator.kde.org/D14335">View Revision</a></tr></table><br /><div><div><p>TD;LR current legacy-based implementation might need that format. Needs complete tested porting to KPlugin.</p>

<p>I had blindly copying the only other-known-to-me existing plugin data, which also has that metadata schema. <br />
Cmp. also <a href="https://phabricator.kde.org/source/plasma-workspace/browse/master/plasmacalendarintegration/holidayeventsplugin.json" class="remarkup-link" target="_blank" rel="noreferrer">https://phabricator.kde.org/source/plasma-workspace/browse/master/plasmacalendarintegration/holidayeventsplugin.json</a></p>

<p>Looking at <a href="https://phabricator.kde.org/source/plasma-framework/browse/master/src/declarativeimports/calendar/eventpluginsmanager.cpp$136" class="remarkup-link" target="_blank" rel="noreferrer">https://phabricator.kde.org/source/plasma-framework/browse/master/src/declarativeimports/calendar/eventpluginsmanager.cpp$136</a> I see now that this is some legacy schema, and one could also use kplugin-based metadata. Might need some other changes to the plugin, like changing the IID. Can have a look later this week.</p>

<p>But grepping for *.json makes my MIME/Media type heart bleed. Someone(tm) should introduce a proper file suffix (e.g. .kplugindata) for those specific schema.<br />
We also use .cpp for C++ sources, despite the base format being plain text (.txt).</p></div></div><br /><div><strong>REPOSITORY</strong><div><div>R114 Plasma Addons</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D14335">https://phabricator.kde.org/D14335</a></div></div><br /><div><strong>To: </strong>yurchor, Plasma, Localization, kossebau<br /><strong>Cc: </strong>ltoscano, plasma-devel, ragreen, Pitel, ZrenBot, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol, mart<br /></div>