May 4, 2011

Programmatically Plugging In XML Feeds | 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
Programmatically Plugging In XML Feeds
Topic Rating: 0 Topic Rating: 0 Topic Rating: 0 Topic Rating: 0 Topic Rating: 0 Topic Rating: 0 (0 votes) 
July 31, 2012
10:28 pm
Avatar
ryan4021
Guest
Guests

Is there a way to programmatically import XML feeds instead of manually adding them from the backend? 

id like to be able to . with php script, insert specific XML feeds based on ID into CyberSEO.

The logic would go like this:

Each site has a ‘category’ name for association. My script will get that category name, and find it inside my XML array set that is created custom to contain the appropriate XML feed data / category data. If it finds and matches ‘category name’ in my Array set it will then load all of the arrays within that category array. If it doesn’t find the category it simply won’t import any feeds. These ‘sub-arrays’ will contain each XML data set for importation like ‘title’, ‘url’, ‘updated’, ‘options’, ‘interval’, ‘post_category’, ‘base_date’, ‘duplicate_check_method’ , etc

For example I have a site that has the category ‘sports’ and sports is in my ‘XML feed data array’ and is setup like this

$sportsarray:

    – [0][‘title’] = title of xml feed dataset

    – [1][‘title’] = title of xml feed dataset two

    – [2][‘title’] = title of xml feed dataset three

 

I only did the first array element as an example using ‘title’ but there’s a bunch more options for each XML feed when you look in wp_options for cxxx_syndicated_feeds so just wanted to give you an idea of what my array would like.

Each ‘sub-array’ will have all of the necessary data for the update_option function to pass into the blog properly (I assume it works like this?).

Is this do-able and a likely scenario for something like this or is it overkill? I’m simply trying to automate the process of importing XML feeds that pertain to that site’s ‘category’. If you’re able to come up with a better solution and/or write something up for a fee I would greatly appreciate that as well.

Thanks

August 1, 2012
11:08 pm
Avatar
ryan4021
Guest
Guests

I’ll add to this that I’m using a custom inhouse XML feed that is consistent in EVERYTHING except the url and title of the xml feed, which makes this entire process ALLLLLOOOOT simpler but still need to get some input before moving forward with this. Is there anybody that knows CyberSEO enough to know if this would be a viable solution?

I’m working on something right now and if I come up with the solution before anybody else does I can post what I did and the processes, etc.

This could help anybody out who uses multiple blogs and has a consistent XML feed to pull from internally , which is my specific case use for this.

Thanks

Forum Timezone: Europe/Amsterdam

Most Users Ever Online: 541

Currently Online: CyberSEO, FloSti
5 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

ninja321: 84

s.baryshev.aoasp: 64

Freedom: 61

MediFormatica: 49

B8europe: 47

saviulisse67: 45

Member Stats:

Guest Posters: 338

Members: 2641

Moderators: 0

Admins: 1

Forum Stats:

Groups: 1

Forums: 5

Topics: 1538

Posts: 7761

Newest Members:

stproducties, thiago_barbosa, maxus.ix, marino.costa.gonzalez, christian.501pressurewashing, kevin.crywolf

Administrators: CyberSEO: 3679