vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   eBay RSS Feeds (https://vborg.vbsupport.ru/showthread.php?t=285969)

Reece^B 07-26-2012 03:04 PM

eBay RSS Feeds
 
Problem, im using a eBay RSS feed but each time I click a link it keeps opening ontop of my sites URL. So instead of being it's own link as such.

Not Found

The requested URL /admincp/'http://rover.ebay.com/rover/1/710-53481-19255-0/1 was not found on this server.

kh99 07-26-2012 03:57 PM

I tried an ebay feed and didn't see any issues. Does that happen for all the links? If it's only the "Read More" link then maybe you have a problem with the template in the feed manager (maybe quotes around the {feed:link} where there shouldn't be any).

Reece^B 07-26-2012 04:39 PM

Thanks for your help, if you follow this link and click the image you get the 404.

Simon Lloyd 07-26-2012 05:08 PM

Would you like to show us how you've taken the feed...etc, are you using vb's own rss bot or an add on?

EDIT: I think you may have a rogue . before the url you want to go to which is why it's giving the top level url first.

Reece^B 07-26-2012 05:15 PM

vB's own RSS feed from a eBay link. Im sure this has always been working okay until late.

Simon Lloyd 07-26-2012 05:35 PM

Can you show us the link you are using for the rss feed from your rss manager?

Reece^B 07-26-2012 05:57 PM

Sure, this is direct from eBay.

http://rest.ebay.com/epn/v1/find/ite...e&feedType=rss

Simon Lloyd 07-26-2012 06:31 PM

Quote:

Originally Posted by Reece^B (Post 2351658)

Is that EXACTLY what you have in your rss manager?

--------------- Added [DATE]1343331467[/DATE] at [TIME]1343331467[/TIME] ---------------

Just checking your source code and you have this
HTML Code:

<a href="http://www.pitbikeclub.co.uk/#'http://rover.ebay.com/rover/1/710-53481-19255-0/1?ff3=2&amp;toolid=10039&amp;campid=5336923007&amp;item=230826649252&amp;vectorid=229508&amp;lgeo=1'" target="_blank"><img src="http://thumbs1.ebaystatic.com/pict/2308266492524040_1.jpg" border="0" alt="" class="tcattdimgresizer" onload="NcodeImageResizer.createOn(this);" /></a><b>£450.00</b> (0 Bids)<br />
End Date: Thursday Jul-26-2012 15:10:20 BST<br />
Buy It Now for only: £700.00<br />
<a href="http://rover.ebay.com/rover/1/710-53481-19255-0/1?ff3=2&amp;toolid=10039&amp;campid=5336923007&amp;item=230826649252&amp;vectorid=229508&amp;lgeo=1" target="_blank">Buy It Now</a> | <a href="http://rover.ebay.com/rover/1/710-53481-19255-0/1?ff3=2&amp;toolid=10039&amp;campid=5336923007&amp;item=230826649252&amp;vectorid=229508&amp;lgeo=1" target="_blank">Bid now</a> | <a href="http://rover.ebay.com/rover/1/710-53481-19255-0/1?ff3=4&amp;toolid=10039&amp;campid=5336923007&amp;vectorid=229508&amp;lgeo=1&amp;mpre=http%3A%2F%2Fcgi1.ebay.com%2Fws%2FeBayISAPI.dll%3FMfcISAPICommand%3DMakeTrack%26item%3D230826649252%26ssPageName%3DRSS%3AB%3ASRCH%3AUS%3A104" target="_blank">Add to watch list</a> <br />

as you can see at the top your forum url and # is directly before the ebay link! so it's down to however you are injecting that in to the postbit under <!-- message -->

It could be to do with your image loader that you have.

Reece^B 07-26-2012 06:51 PM

Yes thats exactly it, if this helps i've just changed hosts...

Simon Lloyd 07-26-2012 07:04 PM

its not to do with your host its to do with how you get that in to the postbit including the picture...etc

Reece^B 07-26-2012 07:13 PM

Okay well how do I rectify this?

Simon Lloyd 07-26-2012 07:22 PM

you'll need to look at your image delivery mod i think, i believe thats where the problem is, if you want to pm me access i'll take a quick look but i've only got around 15 minutes before i have to get off for a while.

kh99 07-26-2012 08:05 PM

I get the same thing happening. I think there might be some strange characters that vb isn't handling very well. Anyway, I found that if I set "Convert HTML to BB Code" to no and "Allow HTML in Announcements" to yes, then the link works (but there's still one of those A with a circle on top things before the pound sign in the price).

Simon Lloyd 07-26-2012 08:55 PM

It seems that it's something to do with the delivery of the description and pic from ebay, it doesn't seem to be vbulletin at all, i did as kh99 suggests but it didnt change anything, everything else worked except clicking the pic.

kh99 07-26-2012 09:00 PM

With all the playing around I did, I forgot that I also had changed the end of the url to say feedType=atom, so that might have been part of it.

Reece^B 07-27-2012 06:24 PM

So is there a fix?

Thanks fellas!

kh99 07-27-2012 06:27 PM

Well, sort of - I think if you change to feedType=atom (at the end of the url), set "Convert HTML to BB Code" to no, and "Allow HTML in Announcements" to yes, that seemed to fix the links for me.

Reece^B 07-27-2012 06:43 PM

humm none of the images display when I select this.

kh99 07-27-2012 07:00 PM

Hmm...try changing feed:description (in the template) to feed:content:encoded. Unfortunately I deleted the feed I created yesterday so I'm not sure exactly how I had it.

Edit: OK, it's like this: I used this url:
Code:

http://rest.ebay.com/epn/v1/find/item.atom?keyword=%28pitbike%2Cpit+bike%29&categoryId1=9800&sortOrder=BestMatch&programid=15&campaignid=5336923007&toolid=10039&listingType1=All&lgeo=1&descriptionSearch=true&feedType=atom
(I changed the item.rss to item.atom as well as changing it at the end), changed feed:description to feed:content:encoded, and did the other things I mentioned above. To be honest, I don't know if they're all needed or not.

Edit: well, that seems to fix the link if you're posting as announcements, which I thought was what you were using, but I just looked at your site again and it looks like you're posting to a thread. So that means for this fix to work you'd have to enable html in the forum you're posting in, which you normally wouldn't want to do (unless no one else can post there).

Sorry - if I have more time I'll try to look in to it more.


All times are GMT. The time now is 01:28 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01166 seconds
  • Memory Usage 1,755KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_code_printable
  • (1)bbcode_html_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (19)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete