May 4, 2011

Retrieve tags from feed | 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
Retrieve tags from feed
Topic Rating: 0 Topic Rating: 0 Topic Rating: 0 Topic Rating: 0 Topic Rating: 0 Topic Rating: 0 (0 votes) 
September 30, 2024
8:46 am
Avatar
s.baryshev.aoasp
Member
Members
Forum Posts: 68
Member Since:
July 27, 2023
sp_UserOfflineSmall Offline

Hello, i have own site on wordpress and i need to transfer tags from feed to my another site. Feed is Login to see this link . There is a <category> tag in the feed . I need to pass the second value of the tag, because the first value is a category and it does not need to be passed. I tried using %categories%, but in this case all the values of <category> are passed . How do I get the value I need from the feed?

September 30, 2024
8:55 am
Avatar
s.baryshev.aoasp
Member
Members
Forum Posts: 68
Member Since:
July 27, 2023
sp_UserOfflineSmall Offline

Maybe i can change %categories% with PHP code and leave only the one i need? In this case, how can i get %categories% in PHP code? 

September 30, 2024
8:57 am
Avatar
CyberSEO
Admin
Forum Posts: 3855
Member Since:
July 2, 2009
sp_UserOfflineSmall Offline

Here is a quote from your feed - that's a typical item there:

Login to see the code

I see categories here, but I don't see any tags. What exactly do you want to extract? Please note that there is no such field as tag in the RSS standard. Here is a link to the RSS specification: Login to see this link

The tag field is an internal element of a WordPress post, like a custom field or post author, and it is not reflected in the RSS feed.

September 30, 2024
9:15 am
Avatar
s.baryshev.aoasp
Member
Members
Forum Posts: 68
Member Since:
July 27, 2023
sp_UserOfflineSmall Offline

I need to get 'Меркурий' from <category><![CDATA[Меркурий]]></category> . 

September 30, 2024
9:39 am
Avatar
CyberSEO
Admin
Forum Posts: 3855
Member Since:
July 2, 2009
sp_UserOfflineSmall Offline

What do you mean by "get"? Do you want to copy this word into the tags when it is found in categories?

In such a case you need to ask CyberSEO Assistant to write a custom PHP snippet for you - it can do it: Login to see this link

Forum Timezone: Europe/Amsterdam

Most Users Ever Online: 541

Currently Online:
6 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

ninja321: 84

s.baryshev.aoasp: 68

Freedom: 61

Pandermos: 54

MediFormatica: 49

B8europe: 47

Member Stats:

Guest Posters: 337

Members: 2791

Moderators: 0

Admins: 1

Forum Stats:

Groups: 1

Forums: 5

Topics: 1598

Posts: 8153

Newest Members:

markus.raum-g, info.foxaraby, biuro.webpromo, sendawid, rumitus, tasosperoglou

Administrators: CyberSEO: 3855