PhotoPost Community

PhotoPost Community (http://www.photopost.com/forum/)
-   Classifieds How do I...? (http://www.photopost.com/forum/classifieds-how-do-i/)
-   -   rss feed (http://www.photopost.com/forum/classifieds-how-do-i/147067-rss-feed.html)

Mary303 December 1st, 2011 04:47 PM

rss feed
 
I hope this is a question you can help with. My vB forum has an RSS feed manager, and I have set up RSS feeds for each of the classified categories. So far they are successfully posting new content. The only thing that isn't working properly is the automatic link back to the item url. It isn't reading or populating the url.

The following are populating correctly:

Title: {feed:title}
Body: {feed:description}

A link to the item is supposed to post with "More ... " - but the url is not populating.
More...

I have tried {feed:link} and {feed:url}. Is there something else I should be using?

Thanks.

Chuck S December 1st, 2011 05:22 PM

I am not sure what your doing.

Classifieds has its own rss feed which is the external.php script and if I populate a forum category using that script links are fine using there rss feed manager.

If your using something other than our coding not sure how we can help you with a mod.

Mary303 December 1st, 2011 05:54 PM

How do you do it? Is there a how-to? thx

Mary303 December 1st, 2011 06:50 PM

Further to above post ... I also asked the vb support forum, and they are saying that this is an atom feed, not an rss feed. Not sure what that means, but if I can find a how-to on the classified side that is probably where the answer is.

Chuck S December 1st, 2011 07:41 PM

An rss feed for classifieds in the actual application is like this

classifieds/external.php

The title that shows on the item as well as the image are clickable links to the actual ad. They work fine with the vb feed manager. I am not sure what type of thing your trying to do but our script prints out an rss feed and works as it is coded to work. It is not going to work some other way.

Mary303 December 1st, 2011 11:44 PM

In external.php I saw
<link>{$adlink}</link>

So I tried substituting
(1) {$adlink}
(2) <link>{$adlink}</link>
(3) {adlink}
(4) <link>{adlink}</link>

None of these populated the link. What code should I be using?

Here is the feed code that is working ... it is just the link that is not working.
(remove space)
http: //www.modelhorseblab.com/blabclassifieds/pp-classifieds/external.php?type=RSS2&cat=4


The code below is working ... I just can't guess the syntax to use for the link.
Title: {feed:title}
Body: {feed:description}

Chuck S December 2nd, 2011 07:24 AM

I do not think you understand what I am saying.

All I am saying is that is a script that like vbulletins external.php that simply prints an rss feed. There is nothing designed to be used anywhere else but by the script itsellf. any links are passed in the actual scripting. You can not use the vb program to make our rss feed appear any different than it is designed for. This is how the feed appears in vb

http://www.reeftalk.com/forums/showt...3%A9lev%C3%A9e

The feed appears in the format specified in the default vb panel

Code:

Content visible to verified customers only.

Mary303 December 2nd, 2011 09:07 AM

Quote:

Originally Posted by Chuck S (Post 1294074)
Cette tour est très élevée

The feed appears in the format specified in the default vb panel

Code:

Content visible to verified customers only.

I wasn't clear above. This is what I used as the default coding provided by vB. It does not populate the link. In the post that is created, the "More ... " has no working url in the link.

Here is an example, created with the default link, per your quote above, as provided by vb (without the spaces) (no editing by me of the default code for the link)
UP/UP *new* Eberl resin
The "More ... " doesn't link to anything.

Here is the ad
UP/UP *new* Eberl resin - Blab Classifieds

You're right, I don't understand, because I'm not really a coder and I don't know this code. I am taking wild guesses in the dark trying to populate the url in the link so the link will work. If the default doesn't work, I have no idea what else to use.

Chuck S December 2nd, 2011 12:25 PM

Maybe you want to update your classifieds? Your external.php scripting seems not quite the same as what I am posting as an example.

try downloading the code and upgrading your classifieds to 4.21

Mary303 December 2nd, 2011 01:00 PM

My classifieds admin panel says "version 4.2.1." The files are from the 11/6/11 download that is available now. What else should I upload to external.php? Do you mean the ppclassified/external.php, not the vB one?

Chuck S December 2nd, 2011 01:14 PM

I am talking about classifieds files.

I am merely saying your external.php file doesnt appear to do what mine does so you want to download the code and replace your external.php file

Model Horse Blab

You do see if you view your external script and mine how they are different.

My title is a link to the ad where as yours is not.

Mary303 December 2nd, 2011 01:43 PM

Maybe I am not understanding - I have to compare php files inside the software? I'm just a user, not a developer, I don't know php, that's why I bought a license for an application. I'm using the file package downloaded from 4.2.1 on 11/15/2011. Aren't those all the correct files I should be using?

Chuck S December 2nd, 2011 02:33 PM

well I am merely saying yours isn't showing like my example so I suggested you make sure your file was current.

At any rate I validated the feed here

Feed Validator Results: http

Yours however does not

Feed Validator Results: http://www.modelhorseblab.com/blabclassifieds/pp-classifieds/external.php

I think maybe its your html and bbcodes in the description that is maybe messing with it linking in your vb rss manager

Thats the best guess that I can give as that is the one thing thats different.

Chuck S December 2nd, 2011 02:50 PM

You can certainly test to see if it it is the html in your descriptions causing your link issue other than that I do not know what to tell you there about how the vbulletin rss manager works. Your feed with the script we provide is working and showing.

You can try finding this code in external.php and adding the code in bold to remove html

Code:

Content visible to verified customers only.

Mary303 December 2nd, 2011 08:20 PM

Made the edit to external.php, exactly as shown ... afraid the results are the same. The title & description are populating, but the link url is not.

Chuck S December 2nd, 2011 08:47 PM

well I can not comment too much here on vbulletin since we are talking that script and how it formats things.

The title description and link are clearly defined in the script

Code:

Content visible to verified customers only.
we have no control over what vbulletin wants to do with things

The function of our rss script is to take content from the ads and print a valid xml rss news feed. You can load it in a reader or view it in the browser either should work and does as I can view your rss feed. Like I said yours prints fine. The only difference I see on your feed is your title is not clickable.

Mary303 December 3rd, 2011 09:12 PM

I can't figure out what to do. At this point the link is just non-functioning.

Chuck S December 3rd, 2011 10:04 PM

Your talking about though how the vb rss manager handles things. That is not really a classifieds support question. The rss script we release is functional and according to rss validation a valid rss feed.


All times are GMT -5. The time now is 08:32 PM.

Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97