May 4, 2011

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

Avatar

Lost password?
Advanced Search

— Forum Scope —




— Match —





— Forum Options —





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

sp_Related 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
CyberSEO
Admin
Forum Posts: 3913
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
CyberSEO
Admin
Forum Posts: 3913
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
CyberSEO
Admin
Forum Posts: 3913
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
CyberSEO
Admin
Forum Posts: 3913
Member Since:
July 2, 2009
sp_UserOfflineSmall Offline

cyber1 said:

Login to see the quote

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/Amsterdam

Most Users Ever Online: 541

Currently Online:
35 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

ninja321: 84

s.baryshev.aoasp: 68

Freedom: 61

Pandermos: 54

MediFormatica: 49

B8europe: 48

Member Stats:

Guest Posters: 337

Members: 2817

Moderators: 0

Admins: 1

Forum Stats:

Groups: 1

Forums: 5

Topics: 1627

Posts: 8280

Newest Members:

igor.buzaev, jeremyboucher, lthompson2709, MAC, duty3canada, backlinkmorocco

Administrators: CyberSEO: 3913