Quote:
Originally Posted by Denny
|
Just easily. Here is the WORKING instruction for my
CyberSEO plugin:
1) Open
CyberSEO->XML Syndicator and click "
Alter default settings".
2) Find the "
XML section tag names (separate with commas)" field, add there the following word:
RESOURCE then click "
Update Default Settings".
3) Now simply add your feed to CyberSEO XML Syndicator (
http://chaturbate.com/affiliates/api...t=xml&wm=2lyOb).
4) On the feed setting page assign some name to it (say "Chaturbate").
5) I then "
Post thumbnail" drop-down box select "
Generate from the 'thumb' custom field".
6) Put the following text into the "
Custom fields" box:
Code:
iframe_embed->iframe_embed
image_url_360x270->thumb
chat_room_url->chat_room_url
username->username
spoken_languages->spoken_languages
location->location
7) Put the following text into the "
PHP code <?php .. ?>" box:
Code:
$post['guid'] = $post['custom_fields']['thumb'];
$post['post_title'] = 'Chat with ' . $post['custom_fields']['username'];
if (!cseo_post_exists($post)) {
$post['post_content'] = '<p style="text-align: center;">' . $post['custom_fields']['iframe_embed'] . '</p>';
$post['post_content'] .= '<p style="text-align: center;"><b>Location:</b> ' . $post['custom_fields']['location'] . ', <b>lanuages spoken:</b> ' . $post['custom_fields']['spoken_languages'] . '</p>';
$post['post_content'] .= '<h2 style="text-align: center;"><a href="' . $post['custom_fields']['chat_room_url'] . '">Clik here for chat!</a></h2>';
} else {
$post = false;
}
8) Save the settings and let CyberSEO pull this feed for you on autopilot while you are walking, eating, sleeping or drinking beer in the bar
Here is what I've got with your feed and the settings above on my WordPress site:
Index page:
Random model page:
The link below chat room player leads to
Chaturbate - Free Adult Webcams, Live Sex, Free Sex Chat, Exhibitionist & Pornstar Free Cams
Note: I'm using
Semicolon WP template on that test site. So with other themes the index page and model pages will look different. You can make it looking like a blog, a tube, a pinterest-clone, a magazine or somehow else. Everything depends on your template. The CyberSEO plugin will work with any template of your choice.
Quote:
Originally Posted by sarettah
It has nothing to do with parsing the xml. It has everything to do with what you do with the data after you parse the xml.
just sayin...
.
|
I do insert it into WordPress posts
P.S. There is a typo on phrase "Cli
ck here for chat!", but I won't fix it because the screenshot was already posted. Anyways, you can put there any other text and or any banner or whatever. The formatting (layout) of posts can be different too and may have or have not some other information such a birthday etc.
P.P.S. It's a working and fully complete step-by-step instruction for chaturbate feeds, so if you are an existing owner of the CyberSEO license, feel free to use it on your sites! Let robots work and make you money while you are making fun of your priceless life ;)