May 4, 2011

Strip Special Characters - Synonyms Table [How to?] | CyberSEO Pro | Support Forums

Avatar

Lost password?
Advanced Search

— Forum Scope —




— Match —





— Forum Options —





Minimum search word length is 3 characters - maximum search word length is 84 characters

Related Topics sp_topicicon
Strip Special Characters - Synonyms Table [How to?]
Topic Rating: 0 Topic Rating: 0 Topic Rating: 0 Topic Rating: 0 Topic Rating: 0 Topic Rating: 0 (0 votes) 
November 20, 2011
8:18 am
Avatar
cyber1
Guest
Guests

Hello Admin,

How do I “strip” special characters from posts in the synonyms table? I presently have the following which is not working:

>|.
>â|.
>??|.
>®|.

Do I need to have the HTML or ASCII equivalent listed instead?

Sincerely,

cyber1

ps; is there a way to use “regular expressions” to modify Titles (or for synonyms table)?

November 21, 2011
3:35 pm
Avatar
Admin
Forum Posts: 3097
Member Since:
July 2, 2009
sp_userofflinesmall Offline

Yes, you have to use the exact HTML code for this. Also if your synonym table is stored as a text file, make sure it's stored in the UTF-8 format.

As about your second question. The answer is yes, you can modify both post title and post content using regular expressions. Simple put something like this into your “PHP Code <?php .. ?>” box:

Login to see the code.

December 18, 2011
6:43 pm
Avatar
cyber1
Guest
Guests

Hello Admin,

You mention “make sure it's (synonym table) stored in the UTF-8 format…” ,but, what are you referring to.. 'cyberseo-dupcheck.php' file or an option in the plug-in?

will the following work to strip special characters in the 'Global Synonym' table?

>??|
>â|

regards,
-cyber1

December 19, 2011
2:32 pm
Avatar
Admin
Forum Posts: 3097
Member Since:
July 2, 2009
sp_userofflinesmall Offline

Yes of course it will work. All national character sets are supported, e.g.:

>中国|土地的旭日

December 20, 2011
9:17 am
Avatar
cyber1
Guest
Guests

Hello Admin,

So I could use the following?

|??|
|â|

also, would the following work to remove parantheses?

|(|

|)|

regards,
cyber1

ps; you mention “make sure it’s (synonym table) stored in the UTF-8 format…” ,but, what are you referring to..the file or the characters themselves?

December 20, 2011
2:02 pm
Avatar
Admin
Forum Posts: 3097
Member Since:
July 2, 2009
sp_userofflinesmall Offline

Yes you can do that syntax to remove ANY characters excluding the “|” symbol itself.

P.S. Of course I mean the file. You can't save characters without a file :)

December 26, 2011
10:08 am
Avatar
cyber1
Guest
Guests

Hello Admin,

Okay, what I mean is, I’d like to use: “||” to strip out these odd characters.

Which file do I have to make “UTF-8 Format” ? … or is this just checking the “enables UTF-8 encoding..” checkbox setting in the settings panel?

regards,
cyber1

December 26, 2011
1:40 pm
Avatar
Admin
Forum Posts: 3097
Member Since:
July 2, 2009
sp_userofflinesmall Offline

cyber1 said:

Which file do I have to make “UTF-8 Format” ? … or is this just checking the “enables UTF-8 encoding..” checkbox setting in the settings panel?

The one you are using to store the synonym table. If you are storing the table right in the “Global Synonym Table” box, you don't want to do anything special. It's stored in UTF-8 format by default.

December 27, 2011
7:12 am
Avatar
cyber1
Guest
Guests

Admin, okay got it thanks! Embarassed

Forum Timezone: Europe/Moscow

Most Users Ever Online: 105

Currently Online:
6 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

ninja321: 81

Freedom: 61

B8europe: 54

saviulisse67: 45

adultdenim: 44

allgoodies: 38

Member Stats:

Guest Posters: 350

Members: 1927

Moderators: 0

Admins: 1

Forum Stats:

Groups: 1

Forums: 2

Topics: 1328

Posts: 6627

Administrators: CyberSEO: 3097