rubyyot-razsell 0.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,125 @@
1
+ <?xml version="1.0" encoding="utf-8"?>
2
+ <rss version="2.0" xmlns:opensearch="http://a9.com/-/spec/opensearch/1.1/" xmlns:media="http://search.yahoo.com/mrss/">
3
+ <channel><title>Kung Fu Tees: Zazzle.com Gallery: Products Matching "rockstar"</title>
4
+ <link>http://feed.zazzle.com/z.2/api/find.aspx?ft=rss&amp;bg=FFFFFF&amp;ch=kungfutees&amp;ft=rss&amp;isz=large&amp;opensearch=1&amp;ou=/kungfutees/rss?bg=FFFFFF&amp;ft=rss&amp;isz=large&amp;opensearch=1&amp;pg=1&amp;qs=rockstar&amp;ps=50&amp;src=razsell&amp;st=popularity&amp;pg=1&amp;ps=50&amp;qs=rockstar&amp;src=razsell&amp;st=popularity</link>
5
+
6
+ <description></description>
7
+ <language>en-us</language>
8
+ <pubDate>Tue, 30 Jun 2009 02:23:26 GMT</pubDate>
9
+ <ttl>60</ttl>
10
+ <opensearch:totalResults>5</opensearch:totalResults>
11
+ <opensearch:startIndex>1</opensearch:startIndex>
12
+
13
+ <opensearch:itemsPerPage>3</opensearch:itemsPerPage>
14
+ <opensearch:Query role="request" searchTerms="rockstar" />
15
+ <item>
16
+ <guid isPermaLink="false">http://www.zazzle.com/ladies_rockstar_tshirt-235898004129790991?gl=kungfutees</guid>
17
+ <pubDate>Sat, 02 May 2009 13:06:08 GMT</pubDate>
18
+ <title><![CDATA[Ladies Rockstar TShirt]]></title>
19
+ <link>http://www.zazzle.com/ladies_rockstar_tshirt-235898004129790991?gl=kungfutees</link>
20
+ <author>kungfutees</author>
21
+ <description>
22
+ <![CDATA[<div class="gridCell " id="_assetCell1">
23
+ <div style="position:relative" class="clearfix">
24
+ <a href="http://www.zazzle.com/ladies_rockstar_tshirt-235898004129790991?gl=kungfutees" id="_assetCell1-imageLink" class="realviewLink"><img id="_assetCell1-preview" src="http://rlv.zcache.com/ladies_rockstar_tshirt-p235898004129790991ojnq_210.jpg" alt="Ladies Rockstar TShirt" title="Ladies Rockstar TShirt by kungfutees" class="realviewImage"/></a>
25
+ <div id="_assetCell1-productTypeIcon" class="shirtIcon"></div>
26
+ <a href="javascript://" id="_assetCell1-nextviewLink" class="nextviewLink"></a>
27
+ </div>
28
+ <div class="gridCellInfo" id="_assetCell1-info">
29
+ <a
30
+ href="http://www.zazzle.com/ladies_rockstar_tshirt-235898004129790991?gl=kungfutees"
31
+ id="_assetCell1-title"
32
+ class="productTitle" title="Ladies Rockstar TShirt"
33
+ >Ladies Rockstar TShirt</a><br />
34
+ <span class="byLine">by <a href="http://www.zazzle.com/kungfutees" id="_assetCell1-contributorLink" rel="nofollow">kungfutees</a><br /></span>
35
+ <span class="extraInfo">
36
+ <br />
37
+
38
+ </span>
39
+ </div>
40
+ </div>]]>
41
+ </description>
42
+ <media:title><![CDATA[Ladies Rockstar TShirt]]></media:title>
43
+ <media:description><![CDATA[Ladies are Rockstar Coders too!]]></media:description>
44
+ <media:thumbnail url="http://rlv.zcache.com/ladies_rockstar_tshirt-p235898004129790991ojnq_125.jpg" />
45
+ <media:content url="http://rlv.zcache.com/ladies_rockstar_tshirt-p235898004129790991ojnq_500.jpg" />
46
+ <media:keywords>rockstar, coder, ror, ruby, on, rails</media:keywords>
47
+ <media:rating scheme="urn:mpaa">g</media:rating>
48
+ </item>
49
+ <item>
50
+ <guid isPermaLink="false">http://www.zazzle.com/rockstar_coder_mug-168427986526885635?gl=kungfutees</guid>
51
+ <pubDate>Sat, 02 May 2009 13:09:16 GMT</pubDate>
52
+ <title><![CDATA[Rockstar Coder Mug]]></title>
53
+ <link>http://www.zazzle.com/rockstar_coder_mug-168427986526885635?gl=kungfutees</link>
54
+ <author>kungfutees</author>
55
+ <description>
56
+ <![CDATA[
57
+ <div class="gridCell " id="_assetCell2">
58
+ <div style="position:relative" class="clearfix">
59
+ <a href="http://www.zazzle.com/rockstar_coder_mug-168427986526885635?gl=kungfutees" id="_assetCell2-imageLink" class="realviewLink"
60
+ ><img id="_assetCell2-preview" src="http://rlv.zcache.com/rockstar_coder_mug-p168427986526885635tda5_210.jpg" alt="Rockstar Coder Mug" title="Rockstar Coder Mug by kungfutees" class="realviewImage"
61
+ /></a>
62
+ <div id="_assetCell2-productTypeIcon" class="mugIcon"></div>
63
+ <a href="javascript://" id="_assetCell2-nextviewLink" class="nextviewLink"></a>
64
+ </div>
65
+ <div class="gridCellInfo" id="_assetCell2-info">
66
+ <a
67
+ href="http://www.zazzle.com/rockstar_coder_mug-168427986526885635?gl=kungfutees"
68
+ id="_assetCell2-title"
69
+ class="productTitle" title="Rockstar Coder Mug"
70
+ >Rockstar Coder Mug</a><br />
71
+ <span class="byLine">by <a href="http://www.zazzle.com/kungfutees" id="_assetCell2-contributorLink" rel="nofollow">kungfutees</a><br /></span>
72
+ <span class="extraInfo">
73
+ <br />
74
+
75
+ </span>
76
+ </div>
77
+ </div>]]>
78
+ </description>
79
+ <media:title><![CDATA[Rockstar Coder Mug]]></media:title>
80
+ <media:description><![CDATA[Want to show your inner rockstar in the break room? Here is the perfect way.]]></media:description>
81
+ <media:thumbnail url="http://rlv.zcache.com/rockstar_coder_mug-p168427986526885635tda5_125.jpg" />
82
+ <media:content url="http://rlv.zcache.com/rockstar_coder_mug-p168427986526885635tda5_500.jpg" />
83
+ <media:keywords>rockstar, coder, ror, ruby, on, rails</media:keywords>
84
+ <media:rating scheme="urn:mpaa">g</media:rating>
85
+ </item>
86
+
87
+ <item>
88
+ <guid isPermaLink="false">http://www.zazzle.com/rockstar_coder_tshirt-235670521587248636?gl=kungfutees</guid>
89
+ <pubDate>Sat, 02 May 2009 04:43:47 GMT</pubDate>
90
+ <title><![CDATA[Rockstar Coder]]></title>
91
+ <link>http://www.zazzle.com/rockstar_coder_tshirt-235670521587248636?gl=kungfutees</link>
92
+ <author>kungfutees</author>
93
+ <description>
94
+ <![CDATA[
95
+ <div class="gridCell " id="_assetCell3">
96
+ <div style="position:relative" class="clearfix">
97
+ <a href="http://www.zazzle.com/rockstar_coder_tshirt-235670521587248636?gl=kungfutees" id="_assetCell3-imageLink" class="realviewLink"
98
+ ><img id="_assetCell3-preview" src="http://rlv.zcache.com/rockstar_coder_tshirt-p235670521587248636cxhe_210.jpg" alt="Rockstar Coder t-shirts" title="Rockstar Coder t-shirts by kungfutees" class="realviewImage"
99
+ /></a>
100
+ <div id="_assetCell3-productTypeIcon" class="shirtIcon"></div>
101
+ <a href="javascript://" id="_assetCell3-nextviewLink" class="nextviewLink"></a>
102
+ </div>
103
+ <div class="gridCellInfo" id="_assetCell3-info">
104
+ <a
105
+ href="http://www.zazzle.com/rockstar_coder_tshirt-235670521587248636?gl=kungfutees"
106
+ id="_assetCell3-title"
107
+ class="productTitle" title="Rockstar Coder"
108
+ >Rockstar Coder</a><br />
109
+ <span class="byLine">by <a href="http://www.zazzle.com/kungfutees" id="_assetCell3-contributorLink" rel="nofollow">kungfutees</a><br /></span>
110
+ <span class="extraInfo">
111
+ <br />
112
+
113
+ </span>
114
+ </div>
115
+ </div>]]>
116
+ </description>
117
+ <media:title><![CDATA[Rockstar Coder]]></media:title>
118
+ <media:description><![CDATA[Want to show the world that you are a Rockstar Coder? What better way than a Nutritional Information label. Shirt is blank on front, with Rockstar Coder pattern on the back.]]>
119
+ </media:description><media:thumbnail url="http://rlv.zcache.com/rockstar_coder_tshirt-p235670521587248636cxhe_125.jpg" />
120
+ <media:content url="http://rlv.zcache.com/rockstar_coder_tshirt-p235670521587248636cxhe_500.jpg" />
121
+ <media:keywords>ruby, rockstar, coder, ruby, on, rails</media:keywords>
122
+ <media:rating scheme="urn:mpaa">g</media:rating>
123
+ </item>
124
+ </channel>
125
+ </rss>
@@ -0,0 +1,87 @@
1
+ <?xml version="1.0" encoding="utf-8"?>
2
+ <rss version="2.0" xmlns:opensearch="http://a9.com/-/spec/opensearch/1.1/" xmlns:media="http://search.yahoo.com/mrss/">
3
+ <channel><title>Kung Fu Tees: Zazzle.com Gallery: Products Matching "rockstar"</title>
4
+ <link>http://feed.zazzle.com/z.2/api/find.aspx?ft=rss&amp;bg=FFFFFF&amp;ch=kungfutees&amp;ft=rss&amp;isz=large&amp;opensearch=1&amp;ou=/kungfutees/rss?bg=FFFFFF&amp;ft=rss&amp;isz=large&amp;opensearch=1&amp;pg=1&amp;qs=rockstar&amp;ps=50&amp;src=razsell&amp;st=popularity&amp;pg=1&amp;ps=50&amp;qs=rockstar&amp;src=razsell&amp;st=popularity</link>
5
+
6
+ <description></description>
7
+ <language>en-us</language>
8
+ <pubDate>Tue, 30 Jun 2009 02:23:26 GMT</pubDate>
9
+ <ttl>60</ttl>
10
+ <opensearch:totalResults>5</opensearch:totalResults>
11
+ <opensearch:startIndex>4</opensearch:startIndex>
12
+
13
+ <opensearch:itemsPerPage>3</opensearch:itemsPerPage>
14
+ <opensearch:Query role="request" searchTerms="rockstar" />
15
+ <item>
16
+ <guid isPermaLink="false">http://www.zazzle.com/ladies_rockstar_tshirt2-235898004129790991?gl=kungfutees</guid>
17
+ <pubDate>Sat, 02 May 2009 13:06:08 GMT</pubDate>
18
+ <title><![CDATA[Ladies Rockstar TShirt2]]></title>
19
+ <link>http://www.zazzle.com/ladies_rockstar_tshirt2-235898004129790991?gl=kungfutees</link>
20
+ <author>kungfutees</author>
21
+ <description>
22
+ <![CDATA[<div class="gridCell " id="_assetCell1">
23
+ <div style="position:relative" class="clearfix">
24
+ <a href="http://www.zazzle.com/ladies_rockstar_tshirt-235898004129790991?gl=kungfutees" id="_assetCell1-imageLink" class="realviewLink"><img id="_assetCell1-preview" src="http://rlv.zcache.com/ladies_rockstar_tshirt-p235898004129790991ojnq_210.jpg" alt="Ladies Rockstar TShirt" title="Ladies Rockstar TShirt by kungfutees" class="realviewImage"/></a>
25
+ <div id="_assetCell1-productTypeIcon" class="shirtIcon"></div>
26
+ <a href="javascript://" id="_assetCell1-nextviewLink" class="nextviewLink"></a>
27
+ </div>
28
+ <div class="gridCellInfo" id="_assetCell1-info">
29
+ <a
30
+ href="http://www.zazzle.com/ladies_rockstar_tshirt-235898004129790991?gl=kungfutees"
31
+ id="_assetCell1-title"
32
+ class="productTitle" title="Ladies Rockstar TShirt"
33
+ >Ladies Rockstar TShirt</a><br />
34
+ <span class="byLine">by <a href="http://www.zazzle.com/kungfutees" id="_assetCell1-contributorLink" rel="nofollow">kungfutees</a><br /></span>
35
+ <span class="extraInfo">
36
+ <br />
37
+
38
+ </span>
39
+ </div>
40
+ </div>]]>
41
+ </description>
42
+ <media:title><![CDATA[Ladies Rockstar TShirt 2]]></media:title>
43
+ <media:description><![CDATA[Ladies are Rockstar Coders too! 2]]></media:description>
44
+ <media:thumbnail url="http://rlv.zcache.com/ladies_rockstar_tshirt-p235898004129790991ojnq_125.jpg" />
45
+ <media:content url="http://rlv.zcache.com/ladies_rockstar_tshirt-p235898004129790991ojnq_500.jpg" />
46
+ <media:keywords>rockstar, coder, ror, ruby, on, rails</media:keywords>
47
+ <media:rating scheme="urn:mpaa">g</media:rating>
48
+ </item>
49
+ <item>
50
+ <guid isPermaLink="false">http://www.zazzle.com/rockstar_coder_mug2-168427986526885635?gl=kungfutees</guid>
51
+ <pubDate>Sat, 02 May 2009 13:09:16 GMT</pubDate>
52
+ <title><![CDATA[Rockstar Coder Mug 2]]></title>
53
+ <link>http://www.zazzle.com/rockstar_coder_mug2-168427986526885635?gl=kungfutees</link>
54
+ <author>kungfutees</author>
55
+ <description>
56
+ <![CDATA[
57
+ <div class="gridCell " id="_assetCell2">
58
+ <div style="position:relative" class="clearfix">
59
+ <a href="http://www.zazzle.com/rockstar_coder_mug-168427986526885635?gl=kungfutees" id="_assetCell2-imageLink" class="realviewLink"
60
+ ><img id="_assetCell2-preview" src="http://rlv.zcache.com/rockstar_coder_mug-p168427986526885635tda5_210.jpg" alt="Rockstar Coder Mug" title="Rockstar Coder Mug by kungfutees" class="realviewImage"
61
+ /></a>
62
+ <div id="_assetCell2-productTypeIcon" class="mugIcon"></div>
63
+ <a href="javascript://" id="_assetCell2-nextviewLink" class="nextviewLink"></a>
64
+ </div>
65
+ <div class="gridCellInfo" id="_assetCell2-info">
66
+ <a
67
+ href="http://www.zazzle.com/rockstar_coder_mug-168427986526885635?gl=kungfutees"
68
+ id="_assetCell2-title"
69
+ class="productTitle" title="Rockstar Coder Mug"
70
+ >Rockstar Coder Mug</a><br />
71
+ <span class="byLine">by <a href="http://www.zazzle.com/kungfutees" id="_assetCell2-contributorLink" rel="nofollow">kungfutees</a><br /></span>
72
+ <span class="extraInfo">
73
+ <br />
74
+
75
+ </span>
76
+ </div>
77
+ </div>]]>
78
+ </description>
79
+ <media:title><![CDATA[Rockstar Coder Mug 2]]></media:title>
80
+ <media:description><![CDATA[Want to show your inner rockstar in the break room? Here is the perfect way.]]></media:description>
81
+ <media:thumbnail url="http://rlv.zcache.com/rockstar_coder_mug-p168427986526885635tda5_125.jpg" />
82
+ <media:content url="http://rlv.zcache.com/rockstar_coder_mug-p168427986526885635tda5_500.jpg" />
83
+ <media:keywords>rockstar, coder, ror, ruby, on, rails</media:keywords>
84
+ <media:rating scheme="urn:mpaa">g</media:rating>
85
+ </item>
86
+ </channel>
87
+ </rss>
@@ -0,0 +1,125 @@
1
+ <?xml version="1.0" encoding="utf-8"?>
2
+ <rss version="2.0" xmlns:opensearch="http://a9.com/-/spec/opensearch/1.1/" xmlns:media="http://search.yahoo.com/mrss/">
3
+ <channel><title>Kung Fu Tees: Zazzle.com Gallery: Products Matching "rockstar"</title>
4
+ <link>http://feed.zazzle.com/z.2/api/find.aspx?ft=rss&amp;bg=FFFFFF&amp;ch=kungfutees&amp;ft=rss&amp;isz=large&amp;opensearch=1&amp;ou=/kungfutees/rss?bg=FFFFFF&amp;ft=rss&amp;isz=large&amp;opensearch=1&amp;pg=1&amp;qs=rockstar&amp;ps=50&amp;src=razsell&amp;st=popularity&amp;pg=1&amp;ps=50&amp;qs=rockstar&amp;src=razsell&amp;st=popularity</link>
5
+
6
+ <description></description>
7
+ <language>en-us</language>
8
+ <pubDate>Tue, 30 Jun 2009 02:23:26 GMT</pubDate>
9
+ <ttl>60</ttl>
10
+ <opensearch:totalResults>3</opensearch:totalResults>
11
+ <opensearch:startIndex>1</opensearch:startIndex>
12
+
13
+ <opensearch:itemsPerPage>50</opensearch:itemsPerPage>
14
+ <opensearch:Query role="request" searchTerms="rockstar" />
15
+ <item>
16
+ <guid isPermaLink="false">http://www.zazzle.com/ladies_rockstar_tshirt-235898004129790991?gl=kungfutees</guid>
17
+ <pubDate>Sat, 02 May 2009 13:06:08 GMT</pubDate>
18
+ <title><![CDATA[Ladies Rockstar TShirt]]></title>
19
+ <link>http://www.zazzle.com/ladies_rockstar_tshirt-235898004129790991?gl=kungfutees</link>
20
+ <author>kungfutees</author>
21
+ <description>
22
+ <![CDATA[<div class="gridCell " id="_assetCell1">
23
+ <div style="position:relative" class="clearfix">
24
+ <a href="http://www.zazzle.com/ladies_rockstar_tshirt-235898004129790991?gl=kungfutees" id="_assetCell1-imageLink" class="realviewLink"><img id="_assetCell1-preview" src="http://rlv.zcache.com/ladies_rockstar_tshirt-p235898004129790991ojnq_210.jpg" alt="Ladies Rockstar TShirt" title="Ladies Rockstar TShirt by kungfutees" class="realviewImage"/></a>
25
+ <div id="_assetCell1-productTypeIcon" class="shirtIcon"></div>
26
+ <a href="javascript://" id="_assetCell1-nextviewLink" class="nextviewLink"></a>
27
+ </div>
28
+ <div class="gridCellInfo" id="_assetCell1-info">
29
+ <a
30
+ href="http://www.zazzle.com/ladies_rockstar_tshirt-235898004129790991?gl=kungfutees"
31
+ id="_assetCell1-title"
32
+ class="productTitle" title="Ladies Rockstar TShirt"
33
+ >Ladies Rockstar TShirt</a><br />
34
+ <span class="byLine">by <a href="http://www.zazzle.com/kungfutees" id="_assetCell1-contributorLink" rel="nofollow">kungfutees</a><br /></span>
35
+ <span class="extraInfo">
36
+ <br />
37
+
38
+ </span>
39
+ </div>
40
+ </div>]]>
41
+ </description>
42
+ <media:title><![CDATA[Ladies Rockstar TShirt]]></media:title>
43
+ <media:description><![CDATA[Ladies are Rockstar Coders too!]]></media:description>
44
+ <media:thumbnail url="http://rlv.zcache.com/ladies_rockstar_tshirt-p235898004129790991ojnq_125.jpg" />
45
+ <media:content url="http://rlv.zcache.com/ladies_rockstar_tshirt-p235898004129790991ojnq_500.jpg" />
46
+ <media:keywords>rockstar, coder, ror, ruby, on, rails</media:keywords>
47
+ <media:rating scheme="urn:mpaa">g</media:rating>
48
+ </item>
49
+ <item>
50
+ <guid isPermaLink="false">http://www.zazzle.com/rockstar_coder_mug-168427986526885635?gl=kungfutees</guid>
51
+ <pubDate>Sat, 02 May 2009 13:09:16 GMT</pubDate>
52
+ <title><![CDATA[Rockstar Coder Mug]]></title>
53
+ <link>http://www.zazzle.com/rockstar_coder_mug-168427986526885635?gl=kungfutees</link>
54
+ <author>kungfutees</author>
55
+ <description>
56
+ <![CDATA[
57
+ <div class="gridCell " id="_assetCell2">
58
+ <div style="position:relative" class="clearfix">
59
+ <a href="http://www.zazzle.com/rockstar_coder_mug-168427986526885635?gl=kungfutees" id="_assetCell2-imageLink" class="realviewLink"
60
+ ><img id="_assetCell2-preview" src="http://rlv.zcache.com/rockstar_coder_mug-p168427986526885635tda5_210.jpg" alt="Rockstar Coder Mug" title="Rockstar Coder Mug by kungfutees" class="realviewImage"
61
+ /></a>
62
+ <div id="_assetCell2-productTypeIcon" class="mugIcon"></div>
63
+ <a href="javascript://" id="_assetCell2-nextviewLink" class="nextviewLink"></a>
64
+ </div>
65
+ <div class="gridCellInfo" id="_assetCell2-info">
66
+ <a
67
+ href="http://www.zazzle.com/rockstar_coder_mug-168427986526885635?gl=kungfutees"
68
+ id="_assetCell2-title"
69
+ class="productTitle" title="Rockstar Coder Mug"
70
+ >Rockstar Coder Mug</a><br />
71
+ <span class="byLine">by <a href="http://www.zazzle.com/kungfutees" id="_assetCell2-contributorLink" rel="nofollow">kungfutees</a><br /></span>
72
+ <span class="extraInfo">
73
+ <br />
74
+
75
+ </span>
76
+ </div>
77
+ </div>]]>
78
+ </description>
79
+ <media:title><![CDATA[Rockstar Coder Mug]]></media:title>
80
+ <media:description><![CDATA[Want to show your inner rockstar in the break room? Here is the perfect way.]]></media:description>
81
+ <media:thumbnail url="http://rlv.zcache.com/rockstar_coder_mug-p168427986526885635tda5_125.jpg" />
82
+ <media:content url="http://rlv.zcache.com/rockstar_coder_mug-p168427986526885635tda5_500.jpg" />
83
+ <media:keywords>rockstar, coder, ror, ruby, on, rails</media:keywords>
84
+ <media:rating scheme="urn:mpaa">g</media:rating>
85
+ </item>
86
+
87
+ <item>
88
+ <guid isPermaLink="false">http://www.zazzle.com/rockstar_coder_tshirt-235670521587248636?gl=kungfutees</guid>
89
+ <pubDate>Sat, 02 May 2009 04:43:47 GMT</pubDate>
90
+ <title><![CDATA[Rockstar Coder]]></title>
91
+ <link>http://www.zazzle.com/rockstar_coder_tshirt-235670521587248636?gl=kungfutees</link>
92
+ <author>kungfutees</author>
93
+ <description>
94
+ <![CDATA[
95
+ <div class="gridCell " id="_assetCell3">
96
+ <div style="position:relative" class="clearfix">
97
+ <a href="http://www.zazzle.com/rockstar_coder_tshirt-235670521587248636?gl=kungfutees" id="_assetCell3-imageLink" class="realviewLink"
98
+ ><img id="_assetCell3-preview" src="http://rlv.zcache.com/rockstar_coder_tshirt-p235670521587248636cxhe_210.jpg" alt="Rockstar Coder t-shirts" title="Rockstar Coder t-shirts by kungfutees" class="realviewImage"
99
+ /></a>
100
+ <div id="_assetCell3-productTypeIcon" class="shirtIcon"></div>
101
+ <a href="javascript://" id="_assetCell3-nextviewLink" class="nextviewLink"></a>
102
+ </div>
103
+ <div class="gridCellInfo" id="_assetCell3-info">
104
+ <a
105
+ href="http://www.zazzle.com/rockstar_coder_tshirt-235670521587248636?gl=kungfutees"
106
+ id="_assetCell3-title"
107
+ class="productTitle" title="Rockstar Coder"
108
+ >Rockstar Coder</a><br />
109
+ <span class="byLine">by <a href="http://www.zazzle.com/kungfutees" id="_assetCell3-contributorLink" rel="nofollow">kungfutees</a><br /></span>
110
+ <span class="extraInfo">
111
+ <br />
112
+
113
+ </span>
114
+ </div>
115
+ </div>]]>
116
+ </description>
117
+ <media:title><![CDATA[Rockstar Coder]]></media:title>
118
+ <media:description><![CDATA[Want to show the world that you are a Rockstar Coder? What better way than a Nutritional Information label. Shirt is blank on front, with Rockstar Coder pattern on the back.]]>
119
+ </media:description><media:thumbnail url="http://rlv.zcache.com/rockstar_coder_tshirt-p235670521587248636cxhe_125.jpg" />
120
+ <media:content url="http://rlv.zcache.com/rockstar_coder_tshirt-p235670521587248636cxhe_500.jpg" />
121
+ <media:keywords>ruby, rockstar, coder, ruby, on, rails</media:keywords>
122
+ <media:rating scheme="urn:mpaa">g</media:rating>
123
+ </item>
124
+ </channel>
125
+ </rss>
data/test/fixtures.rb ADDED
@@ -0,0 +1,8 @@
1
+ module Fixtures
2
+ def feed name
3
+ feed_file = File.open(File.join(File.dirname(__FILE__), 'fixtures', "#{name}.rss"), "r")
4
+ feed = feed_file.read
5
+ feed_file.close
6
+ feed
7
+ end
8
+ end
@@ -0,0 +1,35 @@
1
+ require 'test_helper'
2
+ require 'constants/product_types'
3
+
4
+ class ProductTypesTest < Test::Unit::TestCase
5
+ include Razsell::ProductTypes
6
+
7
+ should "have constants for values" do
8
+ assert_equal "128", BUMPER_STICKER
9
+ assert_equal "137", CARD
10
+ assert_equal "144", MOUSE_PAD
11
+ assert_equal "145", BUTTON
12
+ assert_equal "146", KEYCHAIN
13
+ assert_equal "147", MAGNET
14
+ assert_equal "148", HAT
15
+ assert_equal "149", BAG
16
+ assert_equal "151", TIE
17
+ assert_equal "153", PHOTO_SCULPTURE
18
+ assert_equal "154", APRON
19
+ assert_equal "156", PHOTO_PRINT
20
+ assert_equal "158", CALENDAR
21
+ assert_equal "167", SHOES
22
+ assert_equal "168", MUG
23
+ assert_equal "172", POSTAGE_STAMP
24
+ assert_equal "186", SKATEBOARD
25
+ assert_equal "217", STICKER
26
+ assert_equal "228", POSTER
27
+ assert_equal "231", EMBROIDERED_SHIRT
28
+ assert_equal "232", EMBROIDERED_BAG
29
+ assert_equal "233", EMBROIDERED_HAT
30
+ assert_equal "235", T_SHIRT
31
+ assert_equal "239", POSTCARD
32
+ assert_equal "240", PROFILE_CARD
33
+ end
34
+ end
35
+
@@ -0,0 +1,176 @@
1
+ require 'test_helper'
2
+ require 'constants'
3
+
4
+ class QueryTest < Test::Unit::TestCase
5
+ context "has defaulted parameters" do
6
+ setup do
7
+ @query = Razsell::Query.new
8
+ end
9
+
10
+ should "default sort to popularity" do
11
+ assert_equal Razsell::SortMethods::POPULARITY, @query.sort_type
12
+ end
13
+
14
+ should "default page to 1" do
15
+ assert_equal 1, @query.page
16
+ end
17
+
18
+ should "default items per page to 50" do
19
+ assert_equal 50, @query.items_per_page
20
+ end
21
+
22
+ should "default page limit to 5" do
23
+ assert_equal 5, @query.page_limit
24
+ end
25
+
26
+ should "default product type to nil" do
27
+ assert_nil @query.product_type
28
+ end
29
+
30
+ should "default image background color to white" do
31
+ assert_equal "FFFFFF", @query.image_background_color
32
+ end
33
+
34
+ should "default source to razsell" do
35
+ assert_equal "razsell", @query.source
36
+ end
37
+
38
+ should "default opensearch to 1" do
39
+ assert_equal 1, @query.opensearch
40
+ end
41
+
42
+ should "default feed type to rss" do
43
+ assert_equal "rss", @query.feed_type
44
+ end
45
+ end
46
+
47
+ context "can set parameters" do
48
+ setup do
49
+ @query = Razsell::Query.new
50
+ end
51
+
52
+ should "set sort type" do
53
+ @query.sort_type = Razsell::SortMethods::DATE_CREATED
54
+ assert_equal Razsell::SortMethods::DATE_CREATED, @query.sort_type
55
+ end
56
+
57
+ should "set image size" do
58
+ @query.image_size = Razsell::ImageSizes::SMALL
59
+ assert_equal Razsell::ImageSizes::SMALL, @query.image_size
60
+ end
61
+
62
+ should "set grid cell background color" do
63
+ @query.image_background_color = "FFFFFF"
64
+ assert_equal "FFFFFF", @query.image_background_color
65
+ end
66
+
67
+ should "set keywords" do
68
+ @query.keywords = "bar"
69
+ assert_equal "bar", @query.keywords
70
+ end
71
+
72
+ should "set product type" do
73
+ @query.product_type = Razsell::ProductTypes::MUG
74
+ assert_equal Razsell::ProductTypes::MUG, @query.product_type
75
+ end
76
+ end
77
+
78
+ context "base url" do
79
+ should "know base url" do
80
+ @query = Razsell::Query.new
81
+ assert_equal "http://feed.zazzle.com/rss", @query.send(:base_url)
82
+ end
83
+
84
+ should "include artist in base url if supplied" do
85
+ @query = Razsell::Query.new.for_artist("kungfutees")
86
+ assert_equal "http://feed.zazzle.com/kungfutees/rss", @query.send(:base_url)
87
+ end
88
+ end
89
+
90
+ context "querystring" do
91
+ setup do
92
+ @query = Razsell::Query.new
93
+ end
94
+
95
+ should "be alphabetical" do
96
+ qs = @query.to_querystring
97
+ expected = "bg=FFFFFF&ft=rss&isz=large&opensearch=1&pg=1&ps=50&src=razsell&st=popularity"
98
+ assert_equal expected, qs
99
+ end
100
+
101
+ should "remove nils" do
102
+ @query.product_type = nil
103
+ qs = @query.to_querystring
104
+ expected = "bg=FFFFFF&ft=rss&isz=large&opensearch=1&pg=1&ps=50&src=razsell&st=popularity"
105
+ assert_equal expected, qs
106
+ end
107
+
108
+ should "encode values" do
109
+ @query.keywords = "bar baz"
110
+ qs = @query.to_querystring
111
+ expected = "bg=FFFFFF&ft=rss&isz=large&opensearch=1&pg=1&ps=50&qs=bar+baz&src=razsell&st=popularity"
112
+ assert_equal expected, qs
113
+ end
114
+ end
115
+
116
+ context "url" do
117
+ setup do
118
+ @query = Razsell::Query.new
119
+ end
120
+
121
+ should "build url" do
122
+ qs = @query.to_url
123
+ expected = "http://feed.zazzle.com/rss?bg=FFFFFF&ft=rss&isz=large&opensearch=1&pg=1&ps=50&src=razsell&st=popularity"
124
+ assert_equal expected, qs
125
+ end
126
+
127
+ should "build url with all parameters" do
128
+ @query.keywords = "foo bar"
129
+ @query.product_line = 1234567890123456
130
+ @query.product_type = Razsell::ProductTypes::SHOES
131
+ @query.sort_type = Razsell::SortMethods::POPULARITY
132
+ @query.sort_period = Razsell::SortPeriods::THIS_WEEK
133
+ @query.image_size = Razsell::ImageSizes::LARGE
134
+ @query.image_background_color = "000000"
135
+ qs = @query.to_url
136
+ expected = "http://feed.zazzle.com/rss?bg=000000&cg=1234567890123456&ft=rss&isz=large&opensearch=1&pg=1&ps=50&pt=167&qs=foo+bar&sp=7&src=razsell&st=popularity"
137
+ assert_equal expected, qs
138
+ end
139
+
140
+ should "build url for a specific artist" do
141
+ query = Razsell::Query.new.for_artist("kungfutees")
142
+ qs = query.to_url
143
+ expected = "http://feed.zazzle.com/kungfutees/rss?bg=FFFFFF&ft=rss&isz=large&opensearch=1&pg=1&ps=50&src=razsell&st=popularity"
144
+ assert_equal expected, qs
145
+ end
146
+ end
147
+
148
+ context "advancing the page" do
149
+ setup do
150
+ @query = Razsell::Query.new
151
+ end
152
+
153
+ should "start on page one" do
154
+ assert_equal 1, @query.page
155
+ end
156
+
157
+ should "increment with each page advance" do
158
+ @query.advance_page
159
+ assert_equal 2, @query.page
160
+ end
161
+
162
+ should "default page limit to 5" do
163
+ assert_equal 5, @query.page_limit
164
+ end
165
+
166
+ should "return true if next page is less than the page limit" do
167
+ @query.page_limit = 2
168
+ assert_equal true, @query.advance_page
169
+ end
170
+
171
+ should "return false if advance page attempts to advence beyond the page limit" do
172
+ @query.page_limit = 1
173
+ assert_equal false, @query.advance_page
174
+ end
175
+ end
176
+ end
@@ -0,0 +1,19 @@
1
+ require 'test_helper'
2
+
3
+ class RazsellTest < Test::Unit::TestCase
4
+ include Razsell
5
+
6
+ context "basic operations" do
7
+ setup do
8
+ @query = Razsell::Query.new
9
+ end
10
+
11
+ should "return results" do
12
+ http_service = Razsell::HttpService.new
13
+ http_service.expects(:get).once.returns("")
14
+
15
+ result = request @query, :http_service => http_service
16
+ assert_equal Razsell::Results, result.class
17
+ end
18
+ end
19
+ end