russian services

pvasili - April 8, 2009 - 07:02
Project:Service links
Version:6.x-2.x-dev
Component:Code
Category:task
Priority:normal
Assigned:pvasili
Status:closed
Description

HEAD version

This version will change ;)

AttachmentSize
service_links.zip9.96 KB

#1

TheCrow - April 8, 2009 - 09:57

Ehi pvasili great work, just some detail to fix:

$links['LinkStore'] = array(
    'link' => 'http://www.linkstore.ru/servlet/LinkStore?a=add&url=<encoded-url>&title=<encoded-title>',
    'name' => 'ru_LinkStore',
    'description' => t('Bookmark this post on LinkStore'),
  );

  //must be... after exchange id and name

$links['ru_linkstore'] = array(
    'link' => 'http://www.linkstore.ru/servlet/LinkStore?a=add&url=<encoded-url>&title=<encoded-title>',
    'name' => 'LinkStore',
    'description' => t('Bookmark this post on LinkStore'),
  );

because the first is used for generate images... (using ru_linkstore for link images (ru_linkstore.png)... everyone want delete russian service will do it easy (del ru_* or rm ru_*) ) and the second is used as text for textual links (better have Linkstore than ru_LinkStore).

If you agree i'll change it automatically through VIM without pass service by service :))

P.S. Why the last 3 are commented?

#2

pvasili - April 8, 2009 - 10:38

1) $links['ru_linkstore'] - I agree with you.
2) 'name' => 'LinkStore' - This is bad because I can easily see only Russian bookmark at /admin/settings/service_links/services :(.
Another option - add a field on the page /admin/settings/service_links/services - Servise.
The data for the field taken from Info file (forward_services.info [name] for example) Servise = Forward Services)
and I will see:

========================
Service Name                    Servise             Show
Share this on Twitter          General Services      x
Russian Services               Russian Services      х
...
========================

3) 3 comment - ToDo ;)

AttachmentSize
service_links.zip 10.04 KB

#3

TheCrow - April 8, 2009 - 11:43
Assigned to:pvasili» TheCrow

wow the "another option" of second point is great!!! i'll work on it :))

Thank you!

#4

TheCrow - April 9, 2009 - 10:14
Assigned to:TheCrow» Anonymous
Status:needs work» fixed

Russian services and Service column committed, they will appear in the next auto-generated dev release :))

#5

pvasili - April 9, 2009 - 18:10
Component:Miscellaneous» Code
Status:fixed» needs work

1) ottimo, grazie!

2)
==========================
italian_services.module on line 32
'name' => 'Segnalo.com' -> 'name' => 'Segnalo.com',
italian_services.module on line 38
'name' => 'TechNotizie' -> 'name' => 'TechNotizie',
==========================
errori di battitura ;)

#6

pvasili - April 9, 2009 - 18:33

4)

AttachmentSize
warning.png 7.86 KB

#7

pvasili - April 9, 2009 - 18:45

I made a wrong comment. (delete it)...

AttachmentSize
warning2.png 10.34 KB

#8

pvasili - April 9, 2009 - 19:52

+ 2 Service
minor bugfixes

AttachmentSize
service_links.zip 11.97 KB

#9

TheCrow - April 11, 2009 - 18:19
Status:needs work» fixed

Committed: Comma fix in italian_services, the new russian_services, the double underscore is single now!

About the second image... ru_Vaau is the old system you must see just Vaau in the new... maybe is mixed?

Thank you again for collaborate ;))

#10

pvasili - April 23, 2009 - 06:19
Assigned to:Anonymous» pvasili
Status:fixed» reviewed & tested by the community

+ 1 Service

AttachmentSize
service_links.zip 12.82 KB

#11

TheCrow - April 25, 2009 - 11:42

About Linksia are u sure the link is: http://links.i.ua/mark/?url==<encoded-url>&ename=<encoded-title> and not http://links.i.ua/mark/?url=<encoded-url>&ename=<encoded-title> ?
(watch the '=' near 'url')

#12

TheCrow - August 9, 2009 - 14:55
Status:reviewed & tested by the community» fixed

#13

System Message - August 23, 2009 - 15:00
Status:fixed» closed

Automatically closed -- issue fixed for 2 weeks with no activity.

 
 

Drupal is a registered trademark of Dries Buytaert.