Support Forums

Old 05-06-2006, 10:52 AM   #1
Senior Member
 
garysmith's Avatar
 
Join Date: Mar 2006
Location: Jackson, Mississippi
Posts: 130
Rep Power: 15
garysmith is on a distinguished road
Default Rss

I looked in the knowledge base and couldn't find it. Is there a simple way to have the ads show through rss. Did I miss it in the upgrade at 3.1?

gsmith
__________________
As a Man Think-ith, So is He.
www.zFreeAds.com
www.ms-fsbo.com
garysmith is offline   Reply With Quote
Old 05-06-2006, 11:02 AM   #2
Moderator
 
 
Join Date: Mar 2006
Posts: 4,001
Rep Power: 98
Lhotch is just really niceLhotch is just really nice
Default

The file external.php is still in 3.1 which can be used for others to get your ads via rss.
__________________
Larry.
(Please note: I am not a 68C employee. I am a customer and volunteer who helps with questions where I can and the forums spam free)

Set your site apart from the competition with one of my modules......
Google Map Module | You Tube Module | Google Calendar Module | Event Calendar Module

68 Classifieds Important Links
Customer Area | Issue Tracker | Knowledge Base | User Manuals
Lhotch is offline   Reply With Quote
Old 05-06-2006, 11:04 AM   #3
Moderator
 
 
Join Date: Mar 2006
Location: NJ/NYC Area
Posts: 2,172
Rep Power: 59
juven14 is a jewel in the rough
Default

The script only creates an RSS feed. It is up to the end user to work out how it is displayed at other sites or user's computer. There are quite a few ways to display RSS feeds, some use desktop applications and others convert it to html for the web.

To create RSS feeds from your site just pass the right variables to external.php.

The values it is setup to take are:

category = type
city = city
state = state
country = country
ad owner = owner
text search of title and description = searchtext

To utilize these you would call external.php in this manner:

external.php?type=1&city=dallas
__________________
TemplateCodes.com
juven14 is online now   Reply With Quote
Old 05-06-2006, 01:42 PM   #4
Senior Member
 
garysmith's Avatar
 
Join Date: Mar 2006
Location: Jackson, Mississippi
Posts: 130
Rep Power: 15
garysmith is on a distinguished road
Default

Thanks Guys...

gsmith
__________________
As a Man Think-ith, So is He.
www.zFreeAds.com
www.ms-fsbo.com
garysmith is offline   Reply With Quote
Old 01-16-2008, 06:15 PM   #5
Member
 
 
Join Date: Nov 2007
Posts: 41
Rep Power: 6
pauljr is on a distinguished road
Default

For me this seems to only show the newest listings. I want to create 6 feeds for each of my main catagories which would include all the sub catagories last 20 or so listings. Is this possible?
__________________
~Paul
Developer 3.1.10
buyswapsell.com
pauljr is offline   Reply With Quote
Old 01-16-2008, 06:23 PM   #6
68 Classifieds Staff
 
 
Join Date: Mar 2006
Location: Belmont, NC
Posts: 4,670
Rep Power: 108
Eric Barnes is a jewel in the rough
Default

This is possible but with code changes. Open external.php and find this line:
Code:
if (isset($_REQUEST['type'])&& $_REQUEST['type']<>"")
    {
        $sSQL .= " AND p.section = ".(int)$_REQUEST['type'];
    }
Then replace with:
Code:
if (isset($_REQUEST['type'])&& $_REQUEST['type']<>"")
    {
        $arr_childs = array((int)$_REQUEST['type']);
        get_ids($arr_childs);
        $sSQL .= ( empty($arr_childs) ) ? '': " AND p.section IN (". implode(', ', $arr_childs) .")";
    }
With this change when you enter the parent category it will loop through the children.
__________________
Eric Barnes
68 Classifieds Developer
Please do not send me a private message asking for support. Instead use these open forums or our ticket system.

Customer Area | Issue Tracker | Documentation | 68C Mods | Submit a Ticket | 68 @ Twitter | My Modules
Eric Barnes is offline   Reply With Quote
Old 01-31-2008, 06:42 PM   #7
Senior Member
 
 
Join Date: Jan 2008
Posts: 124
Rep Power: 7
Soleiltan is on a distinguished road
Exclamation

Quote:
Originally Posted by suzkaw View Post
This is possible but with code changes. Open external.php and find this line:
Code:
if (isset($_REQUEST['type'])&& $_REQUEST['type']<>"")
    {
        $sSQL .= " AND p.section = ".(int)$_REQUEST['type'];
    }
Then replace with:
Code:
if (isset($_REQUEST['type'])&& $_REQUEST['type']<>"")
    {
        $arr_childs = array((int)$_REQUEST['type']);
        get_ids($arr_childs);
        $sSQL .= ( empty($arr_childs) ) ? '': " AND p.section IN (". implode(', ', $arr_childs) .")";
    }
With this change when you enter the parent category it will loop through the children.
This doesn't seem to work.....?

RSS
__________________
~~ Lorren

Any advice is always appreciated.

v 3.1.10 Developer; v 4 Developer
Soleiltan is offline   Reply With Quote
Old 02-01-2008, 04:16 PM   #8
Senior Member
 
 
Join Date: Jan 2008
Posts: 124
Rep Power: 7
Soleiltan is on a distinguished road
Default

I fixed the link to the site...not a DNS issue...rather a "me not typing in the correct link" issue...sorry...

Does anyone have any suggestions on this please?

It doesn't appear to work, even with the changes suggested....

Help...I'm going live....
__________________
~~ Lorren

Any advice is always appreciated.

v 3.1.10 Developer; v 4 Developer

Last edited by Soleiltan; 02-01-2008 at 04:22 PM. Reason: Changed signature.
Soleiltan is offline   Reply With Quote
Old 02-01-2008, 05:18 PM   #9
PHP Mechanic
 
 
Join Date: Nov 2007
Posts: 118
Rep Power: 9
cheesegrits has a spectacular aura about
Default

If you want to PM me your email address, I can send you a "known good" working version, which also has a few other fixes in it (like cleaning the title so &'s don't break feed readers).

I'm assuming this is kosher if we both have developer licenses. If not, I'm sure Eric will let me know.

-- hugh
cheesegrits is offline   Reply With Quote
Old 02-02-2008, 02:40 PM   #10
Senior Member
 
 
Join Date: Jan 2008
Posts: 124
Rep Power: 7
Soleiltan is on a distinguished road
Default

I don't know why not...it will save them some agro.....

-- Lorren
__________________
~~ Lorren

Any advice is always appreciated.

v 3.1.10 Developer; v 4 Developer
Soleiltan is offline   Reply With Quote

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -4. The time now is 06:55 PM.


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