Please login or register.

Login with username, password and session length
Advanced search  

News:

Latest sNews - sNews 1.7 - with its own forums - for discussion and user mods.

Author Topic: What is the permanent link (URL)??  (Read 2555 times)

Zucye

  • Sr. Member
  • ****
  • Karma: 5
  • Posts: 347
    • Simplemente una Mujer
What is the permanent link (URL)??
« on: December 18, 2006, 05:36:01 pm »

Website Translator with Yahoo Babelfish

I found this little script, which seems useful to translate the content of Snews.  But I need "the permanent link (URL) of the webpage"

I tried: " " but that only works for the home page not for individual articles.

Code: [Select]
                                                                                                                                                                                                                                       
Nederlands/DutchFrenchРусский/RussianDeutsch/GermanItaliano/ItalianPortugueseSpanishΕλληνικά/GreekJapaneseKoreanChinese SimplifiedChinese Traditional
These other CMS use the following:
Blogger/Blogspot - <$BlogItemPermalinkUrl$>
WordPress -
TypePad/Movable Type - <$MTEntryPermalink$>

As always your help is very apprecited

PD:  It was also suggested that if a "permanent link (URL) was not available to use "the javascript location.href value".  How do I do that????
Logged
We can always learn from our failures, not so much from obvious success - C. Robinson (W. Disney). :)

Zucye

  • Sr. Member
  • ****
  • Karma: 5
  • Posts: 347
    • Simplemente una Mujer
What is the permanent link (URL)??
« Reply #1 on: December 18, 2006, 11:06:27 pm »

Logged
We can always learn from our failures, not so much from obvious success - C. Robinson (W. Disney). :)

Patric Ahlqvist

  • Nobodys perfect, but Im pretty effing close
  • ULTIMATE member
  • ******
  • Karma: 65
  • Posts: 4867
  • I'm a self-made man and worships my creator.
    • p-ahlqvist.com
What is the permanent link (URL)??
« Reply #2 on: December 19, 2006, 03:59:28 pm »

Done, oh wise one ;)
Logged
"It's only dead fish that goes with the flow... "
Updated

Zucye

  • Sr. Member
  • ****
  • Karma: 5
  • Posts: 347
    • Simplemente una Mujer
What is the permanent link (URL)??
« Reply #3 on: December 19, 2006, 10:58:54 pm »

:D ups... sorry Keys!

I actually though is was an interesting resource.  The translation is kind of messy, but is better than nothing :)

I fixed the code with Javascript.  Now it work!
Code: [Select]
USACurrently I am just using Spanish to English, but it can have other values as originally posted, like English to French, Spanish, German, Italian, Portuguese, Dutch, Greek, Chinese (Traditional and Simplified), Japanese, Korean or Russian.

I just added to my friend's site:
http://www.peterbustamante.com/diario/
(The little american flag will translate the page to English)

Now the problem is how to go back to the original language without using the back button????
Logged
We can always learn from our failures, not so much from obvious success - C. Robinson (W. Disney). :)

Keyrocks

  • Doug
  • ULTIMATE member
  • ******
  • Karma: 449
  • Posts: 6020
  • Semantically Challenged
    • snews.ca
What is the permanent link (URL)??
« Reply #4 on: December 20, 2006, 04:24:47 am »

Z... Checked out the site - the translation appears to be pretty quick. Have you noticed, though, that these automatic translaters do OK at converting the text of one language to another... but they are no good at re-composing so that the translation reads well. That is the only drawback with auto-translations. Anyway, glad you have it working!
Logged
Do it now... later may not come.
-------------------------------------------------------------------------------------------------
sNews 1.6 MESU | sNews 1.6 MEMU