Creating and modifying plugins.
-
seraphyn
- Regular
- Posts: 211
- Joined: Fri Dec 01, 2006 8:42 am
-
Contact:
Post
by seraphyn » Tue May 31, 2011 10:28 am
plugin_findmore.tpl:
Code: Select all
8,12d7
<
< {if NOT $findmore_disabled_services.identica}
< <a href="http://identi.ca/notice/new?status_textarea={$entrydata.title|escape:url}%20-%20{$entrydata.url|escape:url}" title=Identi.ca"><img src="{$entrydata.path}identica.png" title="Identi.ca" alt="Identi.ca" class="socialbkmark" /></a>
< {/if}
<
serendipity_event_findmore.php
Code: Select all
76a77
> 'identica' => 'Identi.ca',
Identi.ca-Pic attached
-
Attachments
-

- Identica Picture
- identica.png (464 Bytes) Viewed 4255 times
-
garvinhicking
- Core Developer
- Posts: 30020
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
-
Contact:
Post
by garvinhicking » Wed Jun 01, 2011 10:28 am
Hi!
Great! Added to CVS.
Regards,
Garvin
-
seraphyn
- Regular
- Posts: 211
- Joined: Fri Dec 01, 2006 8:42 am
-
Contact:
Post
by seraphyn » Fri Jun 10, 2011 6:53 pm
Hi Garvin,
one Error:
[quote="seraphyn"]plugin_findmore.tpl:
Code: Select all
8,12d7
<
< {if NOT $findmore_disabled_services.identica}
< <a href="http://identi.ca/notice/new?status_textarea={$entrydata.title|escape:url}%20-%20{$entrydata.url|escape:url}" title=Identi.ca"><img src="{$entrydata.path}identica.png" title="Identi.ca" alt="Identi.ca" class="socialbkmark" /></a>
< {/if}
<
title =identi.ca" is wrong.
There should be an ".
Did you need a new diff?
chris
-
seraphyn
- Regular
- Posts: 211
- Joined: Fri Dec 01, 2006 8:42 am
-
Contact:
Post
by seraphyn » Fri Jun 10, 2011 7:06 pm
Garinv,
diff including the wrong set in twitter for rel="nofollow" and identi.ca wrong title:
plugin_findmore.tpl:
Code: Select all
5c5
< <a rel="nofollow" href="http://twitter.com/home?status={$entrydata.title|escape}%20-%20{$entrydata.url|escape:url}" title="Twitter"><img src="{$entrydata.path}twitter.png" title="Twitter" alt="Twitter" class="socialbkmark" /></a>
---
> <a href="http://twitter.com/home?status={$entrydata.title|escape}%20-%20{$entrydata.url|escape:url}" title="Twitter"><img src="{$entrydata.path}twitter.png" title="Twitter" alt="Twitter" rel="nofollow" class="socialbkmark" /></a>
105c105
< <a rel="nofollow" href="http://identi.ca/notice/new?status_textarea={$entrydata.title|escape:url}%20-%20{$entrydata.url|escape:url}" title="Identi.ca"><img src="{$entrydata.path}identica.png" title="Identi.ca" alt="Identi.ca" class="socialbkmark" /></a>
---
> <a rel="nofollow" href="http://identi.ca/notice/new?status_textarea={$entrydata.title|escape:url}%20-%20{$entrydata.url|escape:url}" title=Identi.ca"><img src="{$entrydata.path}identica.png" title="Identi.ca" alt="Identi.ca" class="socialbkmark" /></a>
-
garvinhicking
- Core Developer
- Posts: 30020
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
-
Contact:
Post
by garvinhicking » Sat Jun 11, 2011 10:49 am
Hi!
I changed the missing " for identica. I don't understand what's with the Twitter change? rel=nofollow is already there?!?
Regards,
Garvin
-
seraphyn
- Regular
- Posts: 211
- Joined: Fri Dec 01, 2006 8:42 am
-
Contact:
Post
by seraphyn » Sat Jun 11, 2011 11:00 am
rel=nofollow is for the img source and not for the link.
<img src="{$entrydata.path}twitter.png" title="Twitter" alt="Twitter" rel="nofollow"
but it have to be
<a rel="nofollow" href="
http://twitter.com/home?status={$entryd ... escape:url}"
So this works with validator from w3c too and have more sense
Chris
-
garvinhicking
- Core Developer
- Posts: 30020
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
-
Contact:
Post
by garvinhicking » Sun Jun 12, 2011 12:33 pm
Hi!
ah sorry! Now I see! Also committed.

-
seraphyn
- Regular
- Posts: 211
- Joined: Fri Dec 01, 2006 8:42 am
-
Contact:
Post
by seraphyn » Sun Jun 12, 2011 12:50 pm
You're welcome.
Thanks
Have a nice Weekend and Pfingsten
Chris
-
seraphyn
- Regular
- Posts: 211
- Joined: Fri Dec 01, 2006 8:42 am
-
Contact:
Post
by seraphyn » Tue Sep 20, 2011 1:53 pm
Not for img-source, for the link.
Read above