Enjoy unlimited access to all forum features for FREE! Optional upgrade available for extra perks.
Domain summit 2024

YPN RSS Feeds - $25 Cash for help!

Status
Not open for further replies.

A D

Level 14
Legacy Exclusive Member
Joined
Feb 20, 2003
Messages
15,040
Reaction score
1,188
Feedback: 61 / 0 / 0
$25 to the first person that can explain via msn how we make $ off the YPN RSS feeds that are available through the YPN network.

Please add [email protected] to your msn to explain and get the $25.

-=DCG=-
 

abstracthosting

Level 3
Legacy Platinum Member
Joined
Aug 25, 2004
Messages
70
Reaction score
0
Feedback: 2 / 0 / 0
here is solution for rss2 with vbulletion 3.5

example feed: http://www.wranglerforum.com/external.php?type=rss2

go to your publisher home, click ad setup, rss ad layout.

publisher platform: moveable type
type in your url and generate rss ad code

you will get the following code:
PHP:
<![CDATA[<!-- begin(Yahoo ad) --><a href="http://ypn-rss.overture.com/rss/32061/<$MTEntryID$>/click/"><img src="http://ypn-rss.overture.com/rss/32061/<$MTEntryID$>/img/?url=<$MTEntryLink encode_xml="1"$>&amp;pid=1972918117" alt="Ads by Yahoo!" border="0"/></a><!-- end(Yahoo ad) -->]]>

copy from the "<!-- begin" to the "end(yahoo ad) -->"

you should now have this

PHP:
<!-- begin(Yahoo ad) --><a href="http://ypn-rss.overture.com/rss/32061/<$MTEntryID$>/click/"><img src="http://ypn-rss.overture.com/rss/32061/<$MTEntryID$>/img/?url=<$MTEntryLink encode_xml="1"$>&amp;pid=1972918117" alt="Ads by Yahoo!" border="0"/></a><!-- end(Yahoo ad) -->

now to edit our feed code, change all instances of <$MTEntryID$> to "1" and <$mtEntryLink ecode_xml="1"$> to " http3A%2F%2Fwww.Yoururl.com%2F%3Fp%3D2 "

now escape all quotes in the string with \

You should end up with something like this:

PHP:
<!-- begin(Yahoo ad) --><a href=\"http://ypn-rss.overture.com/rss/32009/1/click/\">
<img src=\"http://ypn-rss.overture.com/rss/32009/1/img/?url=http3A%2F%2Fwww.dropfeed.com%2F%3Fp%3D2&amp;pid=1972918117\" alt=\"Ads by Yahoo!\" border=\"0\"/></a><!-- end(Yahoo ad) -->

vbulletin code change...

open external.php

find the following code:

PHP:
case 'RSS2':
					echo "\r\n\t<item>\r\n";
					echo "\t\t<title>$thread[title]</title>\r\n";
					echo "\t\t<link>" . $vbulletin->options['bburl'] . "/showthread.php?t=$thread[threadid]&amp;goto=newpost</link>\r\n";
					echo "\t\t<pubDate>" . gmdate('D, d M Y H:i:s', $thread['dateline']) . " GMT</pubDate>\r\n";

replace next echo line with this ( the code between the "<!-- begin" to the "end(yahoo ad) -->" should be the code you generate for yourself from above)


PHP:
echo "\t\t<description><![CDATA[". htmlspecialchars_uni(fetch_trimmed_title(strip_bbcode($thread['preview'], false, true), $vbulletin->options['threadpreview'])) ."<!-- begin(Yahoo ad) --><a href=\"http://ypn-rss.overture.com/rss/32009/1/click/\">
<img src=\"http://ypn-rss.overture.com/rss/32009/1/img/?url=http3A%2F%2Fwww.dropfeed.com%2F%3Fp%3D2&amp;pid=1972918117\" alt=\"Ads by Yahoo!\" border=\"0\"/></a><!-- end(Yahoo ad) --> ]]></description>\r\n";

save and close.

your feed should now be display a yahoo ad in body of your rss feed.

I will be working up additional implementation this week for rss 1.0 and rss .xx
 

abstracthosting

Level 3
Legacy Platinum Member
Joined
Aug 25, 2004
Messages
70
Reaction score
0
Feedback: 2 / 0 / 0
it doesnt really support anything but wordpress and moveabletype blogs right now as far as their interface is concerned, so you have to do the workaround.
 
I

impactadmin

Guest
abstracthosting said:
it doesnt really support anything but wordpress and moveabletype blogs right now as far as their interface is concerned, so you have to do the workaround.
Hey,

Thank you for the update.
Yes I did receive your explanation via pm as we have been going through this over the last few weeks.

From what I understand it seems the ad will only show up in an RSS aggregator or RSS reader that someone may be using.

I will send you an update via PM tommorrow.

Thanks again for all your help.
 
I

impactadmin

Guest
Anyone know how to do this working for vbulletin version 3.6?

Free exclusive membership as a reward.

Thank you
 

A D

Level 14
Legacy Exclusive Member
Joined
Feb 20, 2003
Messages
15,040
Reaction score
1,188
Feedback: 61 / 0 / 0
Ok, $50 for anyone that can get this done from us.

-=DCG=-
 

Theo

Account Terminated
Joined
Feb 28, 2004
Messages
30,318
Reaction score
2,217
Feedback: 723 / 0 / 0
I recommend using RentACoder.com to get the job done.
 
Status
Not open for further replies.

The Rule #1

Do not insult any other member. Be polite and do business. Thank you!

Sedo - it.com Premiums

IT.com

Premium Members

AucDom
UKBackorder
Be a Squirrel
MariaBuy

New Threads

Our Mods' Businesses

UrlPick.com
URL Shortener

*the exceptional businesses of our esteemed moderators

Top Bottom