May 4, 2011

Define which xml tag should be the guid | 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

sp_topicicon
Define which xml tag should be the guid
Topic Rating: 0 Topic Rating: 0 Topic Rating: 0 Topic Rating: 0 Topic Rating: 0 Topic Rating: 0 (0 votes) 
May 4, 2022
4:34 pm
Avatar
Member
Members
Forum Posts: 81
Member Since:
August 26, 2013
sp_userofflinesmall Offline

Is it possible to lets say define the xml “video” tag (the mp4 file) to be the guid of the post? When importing via dump, how can I set what should be the guid?

May 4, 2022
4:44 pm
Avatar
Admin
Forum Posts: 3102
Member Since:
July 2, 2009
sp_userofflinesmall Offline

Sure. You can do it like this:

Login to see the code.

May 4, 2022
5:14 pm
Avatar
Member
Members
Forum Posts: 81
Member Since:
August 26, 2013
sp_userofflinesmall Offline

I am sure that works but is there any way to confirm/see this, if it worked? or only by going into the WP database und looking there?

May 4, 2022
5:23 pm
Avatar
Admin
Forum Posts: 3102
Member Since:
July 2, 2009
sp_userofflinesmall Offline

Yes, just run the following code in the “Modification tools” PHP box:

Login to see the code.

May 4, 2022
7:08 pm
Avatar
Member
Members
Forum Posts: 81
Member Since:
August 26, 2013
sp_userofflinesmall Offline

When the feed ist syndicated and cyberseo checks, if the post guid already got postet, does it check with the new value or with the old one, since, perhaps, the php code is triggered after the post is already syndicated?

May 4, 2022
7:14 pm
Avatar
Admin
Forum Posts: 3102
Member Since:
July 2, 2009
sp_userofflinesmall Offline

Yes of course. That’s why GUIDs exist.

May 6, 2022
2:30 pm
Avatar
Member
Members
Forum Posts: 81
Member Since:
August 26, 2013
sp_userofflinesmall Offline

Not sure how important it is for others but this would be my feature request:

In the drop down list where you choose guid, it would be cool if one could choose more options, like specific XML tags to be the guid

May 6, 2022
2:38 pm
Avatar
Admin
Forum Posts: 3102
Member Since:
July 2, 2009
sp_userofflinesmall Offline

Do you want the “GUID” option to be added to “Title”, “Link”, “Data”, “Custom 1” etc drop-box options?

Not a problem at all then. Will be added in the next release of CyberSEO Pro.

May 9, 2022
2:20 pm
Avatar
Member
Members
Forum Posts: 81
Member Since:
August 26, 2013
sp_userofflinesmall Offline

Yes, this too, but I also mean on the feed settings page under “Basic”, here: Check for duplicate posts by

Also while working a lot with your script, I noticed one thing would be really practically: Being able to edit the dump import settings, for example if I want to add one column or so…

May 9, 2022
2:24 pm
Avatar
Admin
Forum Posts: 3102
Member Since:
July 2, 2009
sp_userofflinesmall Offline
10sp_permalink sp_print
0

ninja321 said
Yes, this too, but I also mean on the feed settings page under “Basic”, here: Check for duplicate posts by

Still didn’t get it. It has a GUID check option already/

ninja321 said
Also while working a lot with your script, I noticed one thing would be really practically: Being able to edit the dump import settings, for example if I want to add one column or so…

Can’t promise to implement this in the new release but someday it will be done.

May 9, 2022
2:42 pm
Avatar
Member
Members
Forum Posts: 81
Member Since:
August 26, 2013
sp_userofflinesmall Offline
11sp_permalink sp_print
0

Well, if I can define the GUID in the dump import settings, I don’t need extra options in the Basic feed settings, of course. Because then I can, for example have the mp4 file as GUID.

But for already existing feeds, I cannot choose the MP4 file to be the GUID, just title and what cyberseo already defined as GUID.

May 11, 2022
2:11 am
Avatar
Admin
Forum Posts: 3102
Member Since:
July 2, 2009
sp_userofflinesmall Offline

So I posted a PHP code exactly for this case.

Forum Timezone: Europe/Moscow

Most Users Ever Online: 105

Currently Online:
8 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: 1928

Moderators: 0

Admins: 1

Forum Stats:

Groups: 1

Forums: 2

Topics: 1331

Posts: 6637

Administrators: CyberSEO: 3102