View Full Version : RSS Feed
Andrew
07-31-2004, 07:26 AM
Im looking to syndicate various ads to another site via RSS feed, does geoclassifieds have the potential to render an RSS feed, anybody have any example code i could start with?
carpman
08-02-2004, 05:37 AM
Im looking to syndicate various ads to another site via RSS feed, does geoclassifieds have the potential to render an RSS feed, anybody have any example code i could start with?
did ask for rss feeds to be part of GC E, would love to be able to do feeds of top level categories, even break them down into:
all
featured
new
admin
08-02-2004, 01:18 PM
There are waaaayyy too many acronyms in this industry. Please specify what you are wanting to accomplish.
carpman
08-02-2004, 05:13 PM
There are waaaayyy too many acronyms in this industry. Please specify what you are wanting to accomplish.
sure you know this but here is link anyway:
http://www.voidstar.com/module.php?id=129&mod=book&op=feed
What i would like to do is be able to display top level categories ads on another site such as the vbportal site i am developing, vbportal allows me to add rss feeds these are then displayed in blocks on portal.
Thus when a user visits portal site ads from GC site are displayed, to enhance this it would nice to have rss feeds broken into sections:
featured
new
etc
Now if there was the ability to have a third party affiliate tracking code in the feed so syndication with rss feeds would mean affiliates could earn commison for sign ups generated from clicks through from links in rss feed.
can't get clearer then that ;)
admin
08-06-2004, 09:57 AM
There are waaaayyy too many acronyms in this industry. Please specify what you are wanting to accomplish.
sure you know this but here is link anyway:
http://www.voidstar.com/module.php?id=129&mod=book&op=feed
What i would like to do is be able to display top level categories ads on another site such as the vbportal site i am developing, vbportal allows me to add rss feeds these are then displayed in blocks on portal.
Thus when a user visits portal site ads from GC site are displayed, to enhance this it would nice to have rss feeds broken into sections:
featured
new
etc
Now if there was the ability to have a third party affiliate tracking code in the feed so syndication with rss feeds would mean affiliates could earn commison for sign ups generated from clicks through from links in rss feed.
can't get clearer then that ;)
Looks as if one of the modules that produces the output you need could be made to "stand-alone". The code could be rewritten to produce XML in the format you need instead of the HTML it currently produces. Tell me if I am wrong.
Looks like the peices are all there...just have to be rearranged.
admin
08-06-2004, 11:14 AM
Created what I believe is a beginning "rss" feed file. Enterprise users can send an email to geosupport@geodesicsolutions.com for the file. It is a beginning and the "rss" format needs to be worked out. Once you have a look at it respond back with what is needed within the xml.
There are individual controls within the file for which category to pull the ads from...the default is 0 (all categories) and which fields to display within the rss feed.
This only pulls featured ads currently. Once we get the file working as it should we can use the same format to pull other ad types.
Remember this is the bleeding edge of the code.
carpman
08-10-2004, 07:28 PM
Thanks for the effort, don't have time test at moment as i have some family issues to sort out, soon as have time will test it out.
cheers
Graham
09-24-2004, 01:05 AM
This sounds very interesting, lots of potential..... Is there any progress on it ?
admin
09-24-2004, 10:13 AM
This sounds very interesting, lots of potential..... Is there any progress on it ?
We haven't had any feedback yet from anyone. We have only done this for the enterprise version. The file is module_featured_ads_rss.php within the classes folder. If you bought recently you may already have it.
If you have the Enterprise Version would you like to test and give us some feedback? Send an email to geosupport@geodesicsolutions.com if you want the file.
Robertc
09-25-2004, 04:17 AM
Something more to add to my list of things to do some time in the future.
Admin.....
Please make this part of the Enterprise base code/update/upgrade scripts
.
admin
09-27-2004, 09:33 AM
Something more to add to my list of things to do some time in the future.
Admin.....
Please make this part of the Enterprise base code/update/upgrade scripts
.
It is within the classes folder. If you do not have it within your send an email to geosupport@geodesicsolutions.com with a request for it.
bskcom
11-02-2004, 02:13 PM
I have the Enterprise version with the module_featured_ads_rss.php file and I would like to test it out. How do I call this module from one of my pages? I can't attach it to a page b/s it is not listed in the PAGE MODULES section in the Admin area.
admin
11-03-2004, 04:32 PM
I have the Enterprise version with the module_featured_ads_rss.php file and I would like to test it out. How do I call this module from one of my pages? I can't attach it to a page b/s it is not listed in the PAGE MODULES section in the Admin area.
The idea behind the rss feed is that other website call this script, receive the xml sent and display the results within their page according to their own display rules. The rss feed file was designed to work outside the GeoClassifieds structure so it could be called independently by other sites. If you want to test it type the url of the file "module_featured_ads_rss.php" file that is within your classes folder like:
http://www.mysite.com/classes/module_featured_ads_rss.php
You may have to make slight changes to the php to get the xml to display like you want for your client sites. We have not gotten feedback as to "standard" xml configuration needed for this.
The script pulls data exactly like the featured level 1 modules.
DragoTPE
11-09-2004, 07:48 AM
I have to wait for my upgrade before i try this-
but as a side note-
Will there be updates in the future that support setting up certain parts of hte page as a module instead of just html or table forms.
possibly also a web page interface to set the rss/xml timeline and sections that it is active. possibly on each cetegory have a xml option to spawn with a timer
and if it's all blended in, i can put something like:
global $prefix, $dbi;
$content = " <A name= \"scrollingCode\"></A>
<MARQUEE behavior= \"scroll\" align= \"center\" direction= \"up\" height=\"120\" scrollamount= \"1\" scrolldelay= \"10\" onmouseover='this.stop()' onmouseout='this.start()'>
<table border=\"0\" width=\"100%\">";
$result = sql_query("SELECT artid, title FROM ".$prefix."_seccont order by artid DESC limit 0,10", $dbi);
while(list($artid, $title) = sql_fetch_row($result, $dbi)) {
$content .= "<big>·</big><a href=\"modules.php?name=Sections&op=viewarticle&artid=$ar tid\">$title</a>
";}
$content .= "</td></tr></table>";
and get a module with scrolling marques or some such( disclaimer- the variables here were written for a different php application- but hte intent is still valid)
admin
11-09-2004, 09:33 AM
I have to wait for my upgrade before i try this-
but as a side note-
Will there be updates in the future that support setting up certain parts of hte page as a module instead of just html or table forms.
possibly also a web page interface to set the rss/xml timeline and sections that it is active. possibly on each cetegory have a xml option to spawn with a timer
and if it's all blended in, i can put something like:
global $prefix, $dbi;
$content = " <A name= \"scrollingCode\"></A>
<MARQUEE behavior= \"scroll\" align= \"center\" direction= \"up\" height=\"120\" scrollamount= \"1\" scrolldelay= \"10\" onmouseover='this.stop()' onmouseout='this.start()'>
<table border=\"0\" width=\"100%\">";
$result = sql_query("SELECT artid, title FROM ".$prefix."_seccont order by artid DESC limit 0,10", $dbi);
while(list($artid, $title) = sql_fetch_row($result, $dbi)) {
$content .= "<big>·</big><a href=\"modules.php?name=Sections&op=viewarticle&artid=$ar tid\">$title</a>
";}
$content .= "</td></tr></table>";
and get a module with scrolling marques or some such( disclaimer- the variables here were written for a different php application- but hte intent is still valid)
Do you know of "marquee" javascript we could use within the program? Needs to be cross-browser so a javascript is necessary...the <marquee> is ie specific? The right code with the right license?
DragoTPE
11-14-2004, 12:24 PM
here's an example of an open source marque tool i used- the only issue is that it was memory intensive. a lot of adjustments were made to make it not be such. also it was for a non- classified site- it is a news based site- been playing with the ariables already. i guess the thing i am hoping for the most is a configurable xml page that can display various items on the classifieds. i have to play with variables before i get it right
<script type='text/javascript'>
var delay = 80;
var pos = 150;
var stopscroll = false;
function Scroll()
{
if (stopscroll) return;
if(!document.getElementById) return;
var headlines = document.getElementById('headlines');
var speedo = document.getElementById('speedo');
var speed = 180 - delay;
speedo.innerHTML = 'Speed: '+speed;
pos--;
if (pos < 0-headlines.offsetHeight-100)
pos = 150;
headlines.style.top = pos+'px';
window.setTimeout('Scroll();', delay);
}
function adjDelay(n)
{
if (delay > 0 && n < 0 || delay < 180 && n >0)
delay += n;
return;
}
function setDefault()
{
delay = 80;
}
</script>";
admin
11-15-2004, 05:44 PM
here's an example of an open source marque tool i used- the only issue is that it was memory intensive. a lot of adjustments were made to make it not be such. also it was for a non- classified site- it is a news based site- been playing with the ariables already. i guess the thing i am hoping for the most is a configurable xml page that can display various items on the classifieds. i have to play with variables before i get it right
<script type='text/javascript'>
var delay = 80;
var pos = 150;
var stopscroll = false;
function Scroll()
{
if (stopscroll) return;
if(!document.getElementById) return;
var headlines = document.getElementById('headlines');
var speedo = document.getElementById('speedo');
var speed = 180 - delay;
speedo.innerHTML = 'Speed: '+speed;
pos--;
if (pos < 0-headlines.offsetHeight-100)
pos = 150;
headlines.style.top = pos+'px';
window.setTimeout('Scroll();', delay);
}
function adjDelay(n)
{
if (delay > 0 && n < 0 || delay < 180 && n >0)
delay += n;
return;
}
function setDefault()
{
delay = 80;
}
</script>";
Can you provide the HTML side of the javascript...ie setting 'headlines','speedo', adjusting the delay and such for other users looking at it. Thanks.
DragoTPE
11-30-2004, 09:34 AM
the marquee command is a lot less memory intensive, all that is needed is the rss/xml feed info. as it stands this code can be put in any table anywhere in existing code. since i still do not have premier or sample classified rdf's here i can't test it. ideally the categories could be changed to an increment type variable and you can have a stage where the relevant rss feeds are only shown.
<?php
$rdfsource = "http://"; # rdf or xml site where the feed will come from
$rdfsource2= "http://";
$rdfsource3= "http://";
$homelink1 = "http://"; # where the clickalbe links go to
$homelink2 = "http://";
$homelink3 = "http://";
$speed = 2; # scrollig speed if $scroll=1
$delay = 10; # scroll delay if $scroll=1
$height=10;
// content for the first line
$content = " <A name= \"scrollingCode\"></A><MARQUEE behavior= \"scroll\" align= \"center\" direction= \"left\" height=\"".$height."\" scrollamount= \"".$speed."\" scrolldelay= \"".$delay."\" onmouseover='this.stop()' onmouseout='this.start()'>";
$data = implode ("", file ($rdfsource));
preg_match_all("|<item>(.*)</item>|Uism",$data, $items, PREG_PATTERN_ORDER);
If (count($items[1])==0) {
preg_match_all("|<item .*>(.*)</item>|Uism",$data, $items, PREG_PATTERN_ORDER);}
for ($i=0;$i<count($items[1]);$i++)
{
preg_match_all("|<title>(.*)</title>(.*)<link>(.*)</link>|Uism",$items[1][$i], $regs, PREG_PATTERN_ORDER);
$content .="<a href=\"".$regs[3][0]."\" target='_blank'>".$regs[1][0]."</a>**";
}
$content .="<a href=\"".$homelink1."\" target='_blank' >More ...</a>**";
$content .="</MARQUEE>";
// content for the second line
$content2 = " <A name= \"scrollingCode\"></A><MARQUEE behavior= \"scroll\" align= \"center\" direction= \"right\" height=\"".$height."\" scrollamount= \"".$speed."\" scrolldelay= \"".$delay."\" onmouseover='this.stop()' onmouseout='this.start()'>";
$data = implode ("", file ($rdfsource2));
preg_match_all("|<item>(.*)</item>|Uism",$data, $items, PREG_PATTERN_ORDER);
If (count($items[1])==0) {
preg_match_all("|<item .*>(.*)</item>|Uism",$data, $items, PREG_PATTERN_ORDER);}
for ($i=0;$i<count($items[1]);$i++)
{
preg_match_all("|<title>(.*)</title>(.*)<link>(.*)</link>|Uism",$items[1][$i], $regs, PREG_PATTERN_ORDER);
$content2 .="<a href=\"".$regs[3][0]."\" target='_blank'>".$regs[1][0]."</a>**";
}
$content2 .="<a href=\"".$homelink2."\" target='_blank' >More ...</a>**";
$content2 .="</MARQUEE>";
// content for the third line
$content3 = " <A name= \"scrollingCode\"></A><MARQUEE behavior= \"scroll\" align= \"center\" direction= \"left\" height=\"".$height."\" scrollamount= \"".$speed."\" scrolldelay= \"".$delay."\" onmouseover='this.stop()' onmouseout='this.start()'>";
$data = implode ("", file ($rdfsource3));
preg_match_all("|<item>(.*)</item>|Uism",$data, $items, PREG_PATTERN_ORDER);
If (count($items[1])==0) {
preg_match_all("|<item .*>(.*)</item>|Uism",$data, $items, PREG_PATTERN_ORDER);}
for ($i=0;$i<count($items[1]);$i++)
{
preg_match_all("|<title>(.*)</title>(.*)<link>(.*)</link>|Uism",$items[1][$i], $regs, PREG_PATTERN_ORDER);
$content3 .="<a href=\"".$regs[3][0]."\" target='_blank'>".$regs[1][0]."</a>**";
}
$content3 .="<a href=\"".$homelink3."\" target='_blank' >More ...</a>**";
$content3 .="</MARQUEE>";
echo $content;
echo $content2;
echo $content3;
?>
DragoTPE
11-30-2004, 11:05 AM
bte- marquee code is html based, compatible in most versions of IE, netscape, firefox, mozilla that i have used. Konquerer does not support it. no clue on aol- but they should use standard html scripting as well. creating the above as a php- it can be call seperatally as a page itself. any chance on a sample xml feed to test with?
ideal situation
each category has a field- (enable rss) and have a seperate xml type page for each category that can be called.
admin
11-30-2004, 11:33 AM
bte- marquee code is html based, compatible in most versions of IE, netscape, firefox, mozilla that i have used. Konquerer does not support it. no clue on aol- but they should use standard html scripting as well. creating the above as a php- it can be call seperatally as a page itself. any chance on a sample xml feed to test with?
ideal situation
each category has a field- (enable rss) and have a seperate xml type page for each category that can be called.
It would be best to pass the category id in the url of the "rss call"....
http://www.testrss.com/classes/module_featured_ads_rss.php?c=###
where ### would be the category id found within the category admin tool. The category id is currently hardcoded within the rss file mentioned in the link.
mjm1905
12-28-2004, 08:08 AM
Wow, this is neat.
Anyone got this working on thier site?
I have something similar, but I am not sure how it works. I seen RSS term before, but not sure of what it is.
Am I getting this right? Essentially, we could now provide classifieds for other sites (network). That would create a ton of value to advertisers. This is almost like having an MLS, but on the internet.
I would love to see this, anyone have it up or implemented?
admin
12-28-2004, 09:48 AM
Wow, this is neat.
Anyone got this working on thier site?
I have something similar, but I am not sure how it works. I seen RSS term before, but not sure of what it is.
Am I getting this right? Essentially, we could now provide classifieds for other sites (network). That would create a ton of value to advertisers. This is almost like having an MLS, but on the internet.
I would love to see this, anyone have it up or implemented?
We have received limited feedback to what and how this could be and have been used. The code we provide creates an xml document with featured ad level 1 data in it.
If someone has ideas or feedback please give it.
mjm1905
12-28-2004, 01:40 PM
I see strong marketing capabilities, if I am understanding this correctly. I don't want to get in over-my-head at the moment though. Research deadline is just about over, time to start marketing what I got. There are a lot of resourceful things on this baby, put to much wood into the fire at once and it dies.
On the subject, this RSS thing will allow other webmasters to display my ads on their sites? Is this something similar to what I have on my Article System, or is this a complete, here is my site on yours type of thing? Not sure how to explain my thoughts clearly here.
Lets say I purchase a failing marketplace domain. I would have the ability to display Mjmls content, the entire site, on the purchased site. I can have a link to failingdomain.net/auto/ and have the auto ads from Mjmls displayed.
I noticed a site I believe does something like this. As a matter of fact, it is one of my mentor domains. http://www.recycler.com/
Click on the Cars and Trucks link. It recognizes you visited from Recycler, but there are no recycler ads there. It does mention, powered by Cars.com on there. Is this an example of an RSS feed that we are talking about?
As far as financial advantages, I am failing to see the benefit to Recycler.com. Unless there is some sort of an arrangement made where Cars.com tracks advertising brought by Recycler. I though of doing this with the Registration Code in the past, utilizing other venues. But this could be done with a link too, if I remember correctly.
I will have to some research on marketing this.
admin
12-28-2004, 02:13 PM
I see strong marketing capabilities, if I am understanding this correctly. I don't want to get in over-my-head at the moment though. Research deadline is just about over, time to start marketing what I got. There are a lot of resourceful things on this baby, put to much wood into the fire at once and it dies.
On the subject, this RSS thing will allow other webmasters to display my ads on their sites? Is this something similar to what I have on my Article System, or is this a complete, here is my site on yours type of thing? Not sure how to explain my thoughts clearly here.
Lets say I purchase a failing marketplace domain. I would have the ability to display Mjmls content, the entire site, on the purchased site. I can have a link to failingdomain.net/auto/ and have the auto ads from Mjmls displayed.
I noticed a site I believe does something like this. As a matter of fact, it is one of my mentor domains. http://www.recycler.com/
Click on the Cars and Trucks link. It recognizes you visited from Recycler, but there are no recycler ads there. It does mention, powered by Cars.com on there. Is this an example of an RSS feed that we are talking about?
As far as financial advantages, I am failing to see the benefit to Recycler.com. Unless there is some sort of an arrangement made where Cars.com tracks advertising brought by Recycler. I though of doing this with the Registration Code in the past, utilizing other venues. But this could be done with a link too, if I remember correctly.
I will have to some research on marketing this.
In its current state the rss supplies up to X number of featured level 1 ads to whoever accesses the file in an xml format. This is more like using one of the modules to place featured ads in a side column somewhere else on your site.
We guess the rss could supply all of your ads to another site if you want. They would just need a way to process them into their system. As we said we really have had no feedback so don't know where the rss could be improved and what shape it could take.
mjm1905
12-28-2004, 02:28 PM
I didn't know there was a module to transfer featured ads to other parts. Man, I got to keep up with this baby. We went through some big ordeal trying to do that little bit, getting a random ad. Nice to know there is a module, we are still having some display problems with our addition.
If this is on the newest update I just got, I will tinker with it. Like I said, it will be a little while though, trying to deal with what I got going now. Don't want to flood the world with new features at once.
rpaulpen
04-25-2005, 09:58 PM
This is really cool! The thought of showing our ads on some other site is a great marketing tool.
I tested it as far as pulling the page up and it does display some of my featured ads. It needs formating terriblly and I'm not sure what to do with it next.
Remo
geomodules
04-26-2005, 05:59 AM
I have the Enterprise version with the module_featured_ads_rss.php file and I would like to test it out. How do I call this module from one of my pages? I can't attach it to a page b/s it is not listed in the PAGE MODULES section in the Admin area.
The idea behind the rss feed is that other website call this script, receive the xml sent and display the results within their page according to their own display rules. The rss feed file was designed to work outside the GeoClassifieds structure so it could be called independently by other sites. If you want to test it type the url of the file "module_featured_ads_rss.php" file that is within your classes folder like:
http://www.mysite.com/classes/module_featured_ads_rss.php
You may have to make slight changes to the php to get the xml to display like you want for your client sites. We have not gotten feedback as to "standard" xml configuration needed for this.
The script pulls data exactly like the featured level 1 modules.
All this calls is text.... How would you call the images?
geomodules
04-26-2005, 07:27 AM
http://www.buyandsell.ca/classes/module_featured_ads_rss.php
Notice this URL ADMIN......
Lets keep it simple....
1) Need Title - Ok Does That
2) Need Image - Does not do this
3) Need URL - Does not do this
Can you post these 3 basic items that we can call. If we have this anyone can make and RSS feed of anything. Your pulling feature ads.
How would a person pull newest ads?
This way the feed is always up to date.
admin
04-26-2005, 11:25 AM
http://www.buyandsell.ca/classes/module_featured_ads_rss.php
Notice this URL ADMIN......
Lets keep it simple....
1) Need Title - Ok Does That
2) Need Image - Does not do this
3) Need URL - Does not do this
Can you post these 3 basic items that we can call. If we have this anyone can make and RSS feed of anything. Your pulling feature ads.
How would a person pull newest ads?
This way the feed is always up to date.
The url is there. It surrounds the title within a <a>.
This file is just a simplification of the other featured ads. If you want to pull newest ads all you have to do is change the sql query that is pulling the ads you want. To pull newest ads look at the query in the newest ads module. If you want to include an image use the code from the one of the other modules. Look for "display_thumbnail".
geomodules
04-26-2005, 03:25 PM
http://www.buyandsell.ca/classes/module_featured_ads_rss.php
Notice this URL ADMIN......
Lets keep it simple....
1) Need Title - Ok Does That
2) Need Image - Does not do this
3) Need URL - Does not do this
Can you post these 3 basic items that we can call. If we have this anyone can make and RSS feed of anything. Your pulling feature ads.
How would a person pull newest ads?
This way the feed is always up to date.
The url is there. It surrounds the title within a <a>.
This file is just a simplification of the other featured ads. If you want to pull newest ads all you have to do is change the sql query that is pulling the ads you want. To pull newest ads look at the query in the newest ads module. If you want to include an image use the code from the one of the other modules. Look for "display_thumbnail".
I played with the display_thumbnail but how do I call it.
$this->body .= "<td width=".$column_width." valign=top>";
$this->body .="<table width=".$show_module->MODULE_THUMB_WIDTH."><tr><td align=center valign=center height=".$show_module->MODULE_THUMB_HEIGHT.">";
$this->display_thumbnail($db,$show->ID,$show_module->MODULE_THUMB_WIDTH,$show_module->MODULE_THUMB_HEIGHT,1);
if (($show_module->MODULE_DISPLAY_TITLE) || ($show_module->MODULE_DISPLAY_PRICE))
Now notice I can do this....
$body .= "<td width=".$column_width." valign=top>";
$body .="<table width=".$show_module->MODULE_THUMB_WIDTH."><tr>
<td align=center valign=center height=".$show_module->MODULE_THUMB_HEIGHT.">";
HERES THE PROBLEM BELOW if I put $body it will error out.
$this->display_thumbnail($db,$show->ID,$show_module->MODULE_THUMB_WIDTH,$show_module->MODULE_THUMB_HEIGHT,1);
if (($show_module->MODULE_DISPLAY_TITLE) || ($show_module->MODULE_DISPLAY_PRICE))
I even placed the query in
$this->sql_query = "select * from geodesic_classifieds where featured_ad_3 = 1 and image > 0 and live = 1 ".$this->sql_zip_filter_in_statement.$this->sql_state_filter_statement.$sql_filter_in_statemen t;
if ($this->site_category)
$this->sql_query .= " and category ".$this->in_statement;
$this->sql_query .= " order by rand(".$seed.") limit ".($show_module->MODULE_NUMBER_OF_ADS_TO_DISPLAY * $show_module->MODULE_NUMBER_OF_COLUMNS);
$featured_result = $db->Execute($this->sql_query);
//echo $this->sql_query."
\n";
danzo
09-06-2005, 05:08 AM
Hi Admin,
Try validating the RSS/XML output here:
http://feedvalidator.org/check?url=http://www.buyandsell.ca/classes/module_featured_ads_rss.php
Currently, the standard output from the geo rss module have the following fundamental errors to be read by news readers and xml readers:
--------------
This feed does not validate.
Feeds should not be served with the "text/html" media type [help]
line 1, column 1: XML parsing error: <unknown>:1:1: not well-formed (invalid token) [help]
<\?xml version="1.0"\?> ^
---------------
Cheers
http://www.buyandsell.ca/classes/module_featured_ads_rss.php
Notice this URL ADMIN......
Lets keep it simple....
1) Need Title - Ok Does That
2) Need Image - Does not do this
3) Need URL - Does not do this
Can you post these 3 basic items that we can call. If we have this anyone can make and RSS feed of anything. Your pulling feature ads.
How would a person pull newest ads?
This way the feed is always up to date.
The url is there. It surrounds the title within a <a>.
This file is just a simplification of the other featured ads. If you want to pull newest ads all you have to do is change the sql query that is pulling the ads you want. To pull newest ads look at the query in the newest ads module. If you want to include an image use the code from the one of the other modules. Look for "display_thumbnail".
jgaulard
11-23-2005, 12:04 PM
Hi,
How would we go about getting a feed for every single ad in Geo Enterprise?
Thanks.
identity
11-23-2005, 02:05 PM
In the little bit of playing that I did, I stripped away the slash before the ?, and added some additional initializing code that I just pulled from another sites XML feed.
There also seems to be an extra/unneeded rss tag at the end of that file.
Also, when I replaced the title tag with link, they should up and were clickable.
However, that bit of playing already far exceeds my knowledge on the topic so hopefuly someone else here can run with that.
Not sure, but I think for this to be truly usable, it will need to write the output into a page with an xml extension... just based on the other feed pages that I've seen on other sites.
Robertc
03-30-2006, 12:15 AM
So i am keen to get my hands ont eh code.
To that efect had started the process with support@geo for gettign the upgrade so i get this code and it works with the upgraded system.
I want to eb able to add the RSS logo to my pages so that a user can select feeds based on wholesite, major categories, sites or even saved searches.
Saved searches does not appear to be covered, which is ok if this PHP code is still in the test cycle.
Will it be added tothe final product is the question?
mwester
04-19-2006, 06:47 AM
just wanted to add my two cents on the need for an rss feed ... not sure what stage of development it is in but sure would love it!
danzo
04-19-2006, 10:24 AM
You should be able to use the rss script that already comes with the enterprise.... just need a little tweaks...
imotorlist
04-24-2006, 06:51 PM
Hi
We're trying to set up a feed for oodle.com
they require the feed to bring these fields, basically here is their example. I've been messing around with the "module_featured_ads_rss.php" file and can't seem to arrange them in this way... of course I am just hacking away at the php and messing it up :oops:
<listing>
<id>167969142</id>
<category>vehicle/car</category>
<url>http://chicagocars.com/detail.jsp?paId=167969142</url>
<secondary_source>Carrs Honda</secondary_source>
<create_time>1112263503</create_time>
<attribute>
<color>Burgundy</color>
<make>Honda</make>
<model>Accord</model>
<year>2002</year>
<mileage>28000</mileage>
</attribute>
<location>
<country_code>US</country_code>
<state_code>IL</state_code>
<city>Chicago</city>
<address>6600 N. Western Ave</address>
</location>
<description></description>
<price>16900</price>
<title>2002 Honda Accord EX, 28K miles</title>
</listing>
Plus we'd like to give them all our ads, not just the featured ads.
Does anyone know how to set this up? Thanks so much.
Celine
hall_n_a
05-02-2006, 09:00 PM
This has a ton of potential.
Admin, you asked for feedback and it looks like you've gotten a good deal of it, but here's my 2 cents :)
If we could pull client specific ads, broken down by category, and feed them back to the clients website, it would allow the client to maintain 'his inventory' advertising it on multiple sites and updating it all from one source.
Example:
Small car dealer has his own site and wants to keep inventory current without hiring webmaster or IT personel:
Chevrolet
Link One (www.somesite.org)
Link Two (www.somesite.org)
Link Three (www.somesite.org)
Ford
Link One (www.somesite.org)
Link Two (www.somesite.org)
Link Three (www.somesite.org)
Chrysler
Link One (www.somesite.org)
Link Two (www.somesite.org)
You could then charge the client for additional services (data feed) that fuels the dynamic portion of the clients site(s). This would also give our clients more incentive to pay to place more ads on our classifieds sites as they may want all their inventory to show on their site...
Ivillages
06-17-2006, 09:48 AM
We just finished a basic implementation that has this functionality. We have a few affiliates who want to display "syndicated" listings from HiFiClassifieds.com on their website, so we built a module that let's them grab the title, price, etc. from the database and display it on their web page. We furnish them 3 files and instructions for installation. See the example at http://www.interactivevillages.com/testhifi/ which is set to show the newest 30 ads. This script could be easily extended to show more of the info for each ad and/or display them by category.
Bob
Robertc
06-21-2006, 01:10 AM
With interest as it is going some where I like
danzo
06-21-2006, 08:45 AM
Displaying with thumbnails, Ad#, etc, and sectioned by various categories like a classified-ad paper would be what i may be looking for... is the script ready or still beta? does it works with Geo ClassAuction??
We just finished a basic implementation that has this functionality. We have a few affiliates who want to display "syndicated" listings from HiFiClassifieds.com on their website, so we built a module that let's them grab the title, price, etc. from the database and display it on their web page. We furnish them 3 files and instructions for installation. See the example at http://www.interactivevillages.com/testhifi/ which is set to show the newest 30 ads. This script could be easily extended to show more of the info for each ad and/or display them by category.
Bob
Ivillages
06-21-2006, 09:08 AM
[quote="danzo"]Displaying with thumbnails and sectioned by various category like a classified-ad paper would be what i may be looking for... is the script ready or still beta? does it works with geoclassauction?
It is still a bit in beta in that we are adding features as users request them. Please click our logo below and hit the Contact link to email me off-forum if you are interested in getting a copy, thanks.
Bob
hyphenated
06-23-2006, 08:10 AM
How's this going?
Ivillages
06-23-2006, 08:37 AM
We should have this done this Monday.
Bob
hall_n_a
07-04-2006, 08:02 AM
I have completed the module I described above.
It will pull ads by user_id then display them by category with category titles, then ad thumbnail, title, and price (also pulls attention getters and 'SOLD' icons)
There are 3 files:
1) main file that pulls desired ads (based on category_id) to one page
2) displays the details of an ad that was clicked (including the 'extra questions block')
3) displays the full image page for the ad
You can see a working sample of it on a clients site here:
http://www.selectsuri.com/sales2.html
Colors and fonts etc, are customizable.
We will sell this module for $99.00 if interested. I took quite a lot of work to sort through all the issues. Contact me at admin( at )alpacatrader.net if you'd like to purchase this.
HAPPY 4TH OF JULY!!
carsglobal
07-04-2006, 06:42 PM
Nice work!
Taking this topic a little further, has anybody exported classified listings to the Google base name space in RRS fomat. There is quite a bit available on the required template structure, and a daily product feed will now be accepted.
I figure that it can't hurt to force an RSS (or even csv) feed. Some of it will have to turn up in searches eventually. Also better to drive the process tha wait for it to happen around you.
I read that Store.com now posts 9.5 million product lines daily and attribute around 30% of enquiries to enquires from the feed.
I also see it as a point of differentiation to attract clients to participate in my space.
Not having any XML experience, would I be right in thinking that the best way to go about this would be to run a daily query to create a new table (or text file) with fields named to map to the supported Google field/attribute names + any custom generated fields?
The field names provided in the Google name space are not currently comprehensive enough to create a comprehensive listing (for cars anyway).
A couple of problems:
Only full size images are accepted - or a full link path
Attributes that do not contain a value must be exluded.
For more info see:
http://www.google.com/base
FAQ: http://www.google.com/base/help/about.html?hl=en_US
http://www.google.com/base/base.xsd
I have thus far created a summary combining existing Google attribute names (neccessary as these are the only ones that are currently searched) along with my own custom attributes.
I guess I am now seeking the most efficient way to run a join query that pulls the required information (in my case, 'title' + the 20 optional site wide fields renamed to suite the format + a couple of category specific questions - then 'description' + the paths to each of the available images (seems silly to be re-transmitting hundreds of images around the ether) + a dynamic link to the add on my Geo site.
Any input or ideas? -
Admin would this sit well within the RSS module in classes discussed earlier in this thread. It would be a great method of driving traffic and enquiries.
Ivillages
07-04-2006, 07:38 PM
Hi Mark,
We just finished an RSS tool that will let you define which categories, users, thumbnails, etc to publish and it will output an XML page for RSS consumption or html for someone to just place on their website. We plant to get certified by Oodle as well on it so that Geo users can output to Oodle with it as well. I'll post more info to this thread as soon as Alfred gets the documentation written and we bundle it up for sale.
The Google Base idea is intruiging-- I think we'll kick those tires next..........
Bob
carsglobal
07-04-2006, 08:31 PM
I also checked out the tab delimited version of the upload.
Existing Googlebase XML attribute elements are defined as:
<[prefix]:[attribute_name] type="[content_type]">[value]</[prefix]:[attribute_name]>
eg:
Make - <g:make="string">Sony</c:make>
Where the g denotes attributes exisiting in the Google name space
If not an existing "g" attribute you can use the prefix "c" for custom or any other prefix (other than 'x'. 'm', or 'l' in any combination). So... could be "iv" or "cg" or whatever :idea:
If only posting to Googlebase rather than an RSS feed to other sites, the tab delimited version looks to be a more simple process.
In this case the attributes would defined as "headers":
Header - c:revenue:integer OR g:make:string or iv:event_date:dateTime
In my case - Carsglobal, a sample might be:
g:title:string tab g:description:string tab g:year:integer tab g:make:string tab g:make:string tab c:model:string tab cg:series:string tab cg:body_type:string tab cg:engine_size:decimal tab g:price:integer etc etc etc.
This is intiutive and simple to construct - but only good for a Googlebase upload ...and I'd still need help on the export query from joined tables for the csv file :shock:
Anyway fodder for thought.
Ivillages
07-14-2006, 11:23 AM
Hi,
How would we go about getting a feed for every single ad in Geo Enterprise?
Thanks.
We've completed version 1 of the GeoFeed script. In a nutshell it allows you to publish an XML page to allow clients and other website owners consume and publish your Geodesic Classifieds/Auction listing on their website using HTML or RSS. For those who do not use RSS, it also includes a set of simple files that you can provide to any other web site to include listings from your Geodesic site. There are variables built in to allow you to define feeds by category, user, quantity, thumbnails on/off and 'newest' or 'featured' ads.
It's available for purchase and download from our geomodules page at http://www.interactivevillages.com/webdev/geodesic/geomodules.php
Ivillages
08-04-2006, 06:35 PM
Our brillliant developer Alfred has figured out that you can put Geo Classifieds or Auction listings on a Google home page! Using HiFiClassifieds as an example. login to your Google home page, click the "Add content »" link in upper LH corner, then click the "Add by URL" link next to the gray "Search Homepage Content" button.
Once there, past the url: http://www.hificlassifieds.com/GeoFeed.php?list=newest&limit=9 into the URL box and hit the Add button. You will then have the 9 newest ads from HiFiClassifieds.com!
For more info on Geofeed, please visit: http://www.interactivevillages.com/webdev/geodesic/geodesicmodules.php
http://www.interactivevillages.com/webdev/geodesic/google.gif
Thanks,
Bob
timamie
08-15-2006, 02:16 PM
Well after some research in to the matter with module, yes I own it, modified it and most of it works.
It is not usable yet for what I need to to be and yes some news readers will except the external paramiters
I have asked and I am currently working on this version to allow internal paramiters so the news readers, MSN, YAHOO, GOOGLE, AOL can not strip off the externals
Write now if you use this tool with links on your site the top four will look at it strip of the extras and make all but one as spam.
I have come up with a work around
if you make copies of GeoFeeds renaming each copy to the categoryname
like so:
www.yourwebsite.com/classifieds/elephants.php
www.yourwebsite.com/classifieds/zebras.php
www.yourwebsite.com/classifieds/oposum.php
with the interal setting set for category, limit, thumbs you no longer look like spam
A very large news paper got around this problem got around this problem by doing the very same thing.
InterativeVillages has a copy of all the mods I have made to there module.
Mods I have made was making the freindly URL pass validation
Makeing AOL look at the feed
Fixed header problem for categories for AOL
Makeing MSN look at the feed with the <ttl>00 </ttl>
Found MSN leak, alfred fixed this after pointed it out
Research and located all the proper ways to add you feeds to personal pages making it easier for AOL, YAHOO, GOOGLE, MSN users to add your content to there pesonal pages.
I am just waiting for them to fix the internal settings issue.
I am trying to get back off shore so I will not be back in time to see the addtion if the choose to do it.
For now I would not suggest you place multiple links on your pages using the external settings, This module is not done in my book.
If you place one link no extertnal settings it will get pick up and index, if this is all you want, then it is done.
I have also asked that the set an internal parameter flag so you can flag a top level category and grab all the ads from the subcategories.
I would recomend you only put one link to this if they impliment it.
I have a resouces main category with 25 sub categories.
This way some on could just subscribe to the resources category if this were implimented as well.
So this module does have alot of potentail, and if I were you people looking for a tool keep a close eye on this tool.
It will do every thing it needs to do in the future soon.
Weather I come up with the mods or they come of with the mods
If you have bought this module, and you are using the freindly links portion of geodesic solutions, with the rewrite tool, please let me kow I have a few mods that can be made to make your XML look pretty and validate.
They also need to test for 0.00 and replace the value to a preset value in the config header so if an ad does not have a price it does not display as 0.00 rather some thing like this "inqure" "not listed"
I can see all kinds of things happening as a plus for web sites if this tool is completed.
I will be researching more "high profile tags" for this module for better exposure on the internet to be added.
alfrtbennett
08-15-2006, 03:36 PM
Hi,
I am currently testing the "fix" for the intial parameters. There will be a spot in the config section to set them up.
I have also fixed a couple of bugs (fat finger errors really). Your input has been helpful Tim.
The bugfix / enhanced /code cleaned release will be available, probably tomorow when I am done testing it.
The other feature you suggested (all within a parent category) will take a bit longer to complete.
timamie
08-15-2006, 04:20 PM
Are you still working with the moded version of mine or are fixing the other and updating mine later.
I hope you fix mine with all the mods as well, I still have some tags I am working on and will be getting them to you.
Or you can just down load the file and look over the notes
alfrtbennett
08-15-2006, 05:36 PM
I am modding the original. Most of your issues are taken care of there. I am doing it this way to keep a clean source tree. It will make it quicker in the future to add features.
Powered by vBulletin® Version 4.1.10 Copyright © 2012 vBulletin Solutions, Inc. All rights reserved.