| View previous topic :: View next topic |
| Author |
Message |
pasmal New Poster

Joined: 28 Jun 2005 Posts: 17
         votes: 1
|
Posted: Thu Aug 25, 2005 1:52 Post subject: Remove accents in pings |
|
|
For any persons using the accentuated characters in your blogs (French, German, ...), you know that when you ping blo.gs or technorati it does'nt work.
This hack removes the accents in pings
Just replace the file "/b2evocore/_functions_pings.php" by this one (unzip it!).
I just added a function "removeAccents". Comments are welcome, and sorry (again) for my english  |
|
| Back to top |
|
 |
personman SuperGuru

 Joined: 09 Feb 2005 Posts: 2178
  votes: 15
|
Posted: Thu Aug 25, 2005 10:34 Post subject: |
|
|
I posted this to the plugins repository. Let me know if you want anything changed. _________________ RTFM |
|
| Back to top |
|
 |
kwa Hooked :)

 Joined: 21 Jan 2005 Posts: 261
    votes: 1
|
Posted: Thu Aug 25, 2005 11:48 Post subject: |
|
|
In fact, it would have been better if accentuated posts titles would have been automatically converted into their HTML codes equivalents (ie. "é" to "é") However, when adding HTML codes directly, one has to also enter the URL of the post, since the URL contains the HTML codes (but the "&" sign). _________________
Les perles du chat | Une araignée au plafond | New Development Blog Coming Soon... |
|
| Back to top |
|
 |
pasmal New Poster

Joined: 28 Jun 2005 Posts: 17
         votes: 1
|
Posted: Fri Aug 26, 2005 7:23 Post subject: |
|
|
| personman wrote: |
| I posted this to the plugins repository. Let me know if you want anything changed. |
Thank you personman! Nothing to change for the moment ;-)
| kwa wrote: |
| In fact, it would have been better if accentuated posts titles would have been automatically converted into their HTML codes equivalents (ie. "é" to "é). |
It's a very good idea! I'll do the modification this week end. Thanks! :-) |
|
| Back to top |
|
 |
kwa Hooked :)

 Joined: 21 Jan 2005 Posts: 261
    votes: 1
|
Posted: Fri Aug 26, 2005 11:10 Post subject: |
|
|
| pasmal wrote: |
| kwa wrote: |
| In fact, it would have been better if accentuated posts titles would have been automatically converted into their HTML codes equivalents (ie. "é" to "é"). |
It's a very good idea! I'll do the modification this week end. Thanks! :-) |
I've forgotten to talk about trackbacks on blogs using another charset: converting accentuated characters before writing into the database would be fine. Integrating such a WYSIWYG editor as FCKeditor for posts edition makes most accents converted before posting the post. (Those appearing in the alt attribute of an img tags are still unconverted.) _________________
Les perles du chat | Une araignée au plafond | New Development Blog Coming Soon... |
|
| Back to top |
|
 |
gcasanova Hooked :)

Joined: 21 Dec 2004 Posts: 328
        votes: 2
|
Posted: Fri Feb 02, 2007 10:04 Post subject: |
|
|
Hi,
Does this work with the newer versions, 1.8+ ?
Thanks |
|
| Back to top |
|
 |
kwa Hooked :)

 Joined: 21 Jan 2005 Posts: 261
    votes: 1
|
Posted: Fri Feb 02, 2007 10:15 Post subject: |
|
|
| gcasanova wrote: |
| Does this work with the newer versions, 1.8+ ? |
I haven't tested it yet. I'm migrating from my very old and highly customized b2evolution 0.9.x to the latest b2evolution 1.9.2. I'm going to investigate that issue in the next few weeks. If it doesn't work, I'm going to post a bug, then trying to fix it (in that case, it should be straightforward). _________________
Les perles du chat | Une araignée au plafond | New Development Blog Coming Soon... |
|
| Back to top |
|
 |
gcasanova Hooked :)

Joined: 21 Dec 2004 Posts: 328
        votes: 2
|
Posted: Fri Feb 02, 2007 10:22 Post subject: |
|
|
Hi kwa;
If it works or not, will you be posting the results at this forum and this same topic or will it be somewhere else?
I'me very interested in following up this.
Thanks for your reply. |
|
| Back to top |
|
 |
kwa Hooked :)

 Joined: 21 Jan 2005 Posts: 261
    votes: 1
|
Posted: Fri Feb 02, 2007 10:24 Post subject: |
|
|
| gcasanova wrote: |
If it works or not, will you be posting the results at this forum and this same topic or will it be somewhere else?
I'me very interested in following up this. |
Wherever I'm going to post the results of my investigations, I'm also going to post here a notice message, so you won't miss it! OK?  _________________
Les perles du chat | Une araignée au plafond | New Development Blog Coming Soon... |
|
| Back to top |
|
 |
gcasanova Hooked :)

Joined: 21 Dec 2004 Posts: 328
        votes: 2
|
Posted: Fri Feb 02, 2007 10:27 Post subject: |
|
|
Thank You!  |
|
| Back to top |
|
 |
|