May 4, 2011

Define which xml tag should be the guid | 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_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
ninja321
Member
Members
Forum Posts: 84
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
CyberSEO
Admin
Forum Posts: 3912
Member Since:
July 2, 2009
sp_UserOfflineSmall Offline

Sure. You can do it like this:

Login to see the code

Iа you import it from a CSV dump, just select "Video" for the appropriate tag filed.

May 4, 2022
5:14 pm
Avatar
ninja321
Member
Members
Forum Posts: 84
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
CyberSEO
Admin
Forum Posts: 3912
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

Just replace POST_ID with a numerical ID of the post you want to examine. Its GUID will be shown at the top of the window.

May 4, 2022
7:08 pm
Avatar
ninja321
Member
Members
Forum Posts: 84
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
CyberSEO
Admin
Forum Posts: 3912
Member Since:
July 2, 2009
sp_UserOfflineSmall Offline

Yes of course. That's why GUIDs exist.

May 6, 2022
2:30 pm
Avatar
ninja321
Member
Members
Forum Posts: 84
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
CyberSEO
Admin
Forum Posts: 3912
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
ninja321
Member
Members
Forum Posts: 84
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
CyberSEO
Admin
Forum Posts: 3912
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
ninja321
Member
Members
Forum Posts: 84
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
CyberSEO
Admin
Forum Posts: 3912
Member Since:
July 2, 2009
sp_UserOfflineSmall Offline
12sp_Permalink sp_Print
0

So I posted a PHP code exactly for this case.

Forum Timezone: Europe/Amsterdam

Most Users Ever Online: 541

Currently Online: Panbimbo
37 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: 8278

Newest Members:

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

Administrators: CyberSEO: 3912