Esvon Classifieds Unofficial Support Board
Welcome,
Guest
. Please
login
or
register
.
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
Home
Help
Search
Login
Register
Sep 05, 10, 09:49
Esvon Classifieds Unofficial Support Board
|
Esvon Classifieds
|
Mods and add-ons
(Moderator:
isell
) | Topic:
Rss feed docs
Topic Tools
Search this topic
Pages
1
Author
Topic: Rss feed docs (Read 952 times)
«
on:
Nov 29, 08, 16:26 »
ukpetclassifieds
Apprentice classifier
Posts: 8
Rss feed docs
Hi people.
I have been trying to make rss feeds from evson latest listings.
Has anyone got the docs to do this please!
Many Thanks
Justin
«
Last Edit: Dec 02, 08, 23:26 by ukpetclassifieds
»
Logged
Reply #1
«
on:
Dec 02, 08, 13:43 »
ukpetclassifieds
Apprentice classifier
Posts: 8
Re: Rss feed docs
Can anyone put the code here for,
include 'inc/rssconfig.php';
include 'inc/rssopen.php';
include 'inc/rssclose.php';
to use the code in the forum under RSS please as i'm not sure what they are?
Thanks if anyone can help!
Logged
Reply #2
«
on:
Dec 15, 08, 23:57 »
webman1
ecusb.com supporter
Intrepid classifier
Posts: 79
Re: Rss feed docs
These 3 files are used to hold PHP Database Connection, Open and Database Close configuration. The Main file in the RSS Sticky calls these files to find out your database settings and the close and open php files closes or opens the database.
The include is a command to call these files at the start and finish. The files are located in the inc folder but you can store these 3 files anywhere you wish.
include 'yourfoldernamewhereyouhavethefilesstore
d\rssconfig.php' etc.
Follow these steps below to create these 3 files.
1. Type/Copy the following into a php file using either notepad/frontpage/dreamweaver etc. and save it as rssclose.php
<?php
mysql_close($conn);
?>
2. Type/Copy the following into a php file using either notepad/frontpage/dreamweaver etc. Edit the parts below with your own Database Settings and save it as rssconfig.php
<?php
$dbhost = 'Enter your DBHost Address Here';
$dbuser = 'Enter your DB Username Here';
$dbpass = 'Enter your DB username Password Here';
$dbname = 'Enter your Database Name Here';
$dbSettings["host"] = "Enter your DBHost Address Here";
$dbSettings["user"] = "Enter your DB Username Here";
$dbSettings["password"] = "Enter your DB username Password Here";
$dbSettings["name"] = "Enter your Database Name Here";
?>
3. Type/Copy the following into a php file using either notepad/frontpage/dreamweaver etc. and save it as rssopen.php
<?php
$conn = mysql_connect($dbhost, $dbuser, $dbpass) or die ('Error connecting to mysql');
mysql_select_db($dbname);
?>
«
Last Edit: Dec 16, 08, 00:09 by webman1
»
Logged
Pages
1
Esvon Classifieds Unofficial Support Board
|
Esvon Classifieds
|
Mods and add-ons
(Moderator:
isell
) | Topic:
Rss feed docs
Jump to:
Please select a destination:
-----------------------------
Information
-----------------------------
=> Administrative announcements
-----------------------------
Esvon Classifieds
-----------------------------
=> Installation, configuration and upgrade issues
=> Modules
=> Mods and add-ons
=> Day to day issues
=> Version 4 Experiences
=> Wish list
-----------------------------
Marketing & Security (Registration Required)
-----------------------------
===> Link exchange
-----------------------------
The Lounge
-----------------------------
=> Anything else?
=> Show off your site(s)
=> Buy, Sell or Trade
-----------------------------
Member Zone
-----------------------------
=> Esvon Classifieds Unofficial Manual
Print
Advanced search
Powered by SMF 1.1.5
|
SMF © 2006-2008, Simple Machines LLC
Pn-Pn Theme by koni.
Loading...