My Subscriptions

No active or expired subscriptions. View Available Subscriptions

News Feed

Receive our Newsletter

Advanced Search

Save $50 on your CMS Expo Registration

Receive $50 off the registration fee for the CMS Expo featuring Joomla! in Dever, Colorado (USA). Click here to register at the reduced rate.
Pages: 1 [2]
Print
Author Topic: RSS  (Read 2670 times)
ludwigvb
Newbie
*

Karma: +0/-0
Posts: 1


View Profile Email
« Reply #15 on: March 17, 2008, 01:25:26 PM »

Very nice!
Thanks.

I changed the code at the beginning so it will fit on every joomla with less editing:

Code:
/* Configuration start ***********************************/
include "configuration.php";
// RSS title and description
$rss_title = $mosConfig_sitename;
$rss_description = $mosConfig_MetaDesc;

// Database configuiration
$db_host = $mosConfig_host;
$db_name = $mosConfig_db;
$db_user = $mosConfig_user;
$db_psw = $mosConfig_password;
$event_table = "jos_jcalpro_events";
$category_table = "jos_jcalpro_categories";

// RSS item limit
$limit = "10";

// output link configuration
$website_addr = $mosConfig_live_site .'/';
$itemID = "";

/* Configuration end ***********************************/
Logged
emagin
Newbie
*

Karma: +1/-0
Posts: 16


View Profile
« Reply #16 on: July 09, 2008, 06:22:57 PM »

I have incorporated ALL the above changes into the file and zipped.
Used notepad++ to do these so they should be clean.
Please test!
« Last Edit: July 09, 2008, 06:54:01 PM by emagin » Logged

JcalPro 1.6.0 b.176  Th:Default
J! 1.015  MySql 4.1.22 [DB latin-1]  PHP 5.2.0  Apache/1.3.37
emagin
Newbie
*

Karma: +1/-0
Posts: 16


View Profile
« Reply #17 on: July 11, 2008, 11:15:58 AM »

I am getting titles and event content in the feed working pretty well.
It's not formatted properly though and would like to shorten this to make the dates appear at top with a trimmed description.
Working on that....

This is all for 1.0x, not 1.5
Logged

JcalPro 1.6.0 b.176  Th:Default
J! 1.015  MySql 4.1.22 [DB latin-1]  PHP 5.2.0  Apache/1.3.37
sdesocio
Newbie
*

Karma: +0/-0
Posts: 6


View Profile
« Reply #18 on: August 18, 2008, 02:56:44 PM »

Help with the setup

Ok so Im a nueb when it comes to php so could someone tell me how to setup up this file.
Right now all i get is one event even though there are more things going one.
Logged
sdesocio
Newbie
*

Karma: +0/-0
Posts: 6


View Profile
« Reply #19 on: August 18, 2008, 03:07:13 PM »

I guess Its working but the formatting is all messed up.
http://www.cityreformed.org/events-rss.php
Logged
sdesocio
Newbie
*

Karma: +0/-0
Posts: 6


View Profile
« Reply #20 on: August 21, 2008, 01:13:48 AM »

Ok I fixed he problem

Change
Code:
$description .= "Description: " . $row['descr'] . "<br/>";
to this
Code:
$description = "Description: " . $row['descr'] . "<br/>";

to stop the repeating descriptions
Logged
sailorche
Newbie
*

Karma: +0/-0
Posts: 2


View Profile
« Reply #21 on: October 30, 2008, 03:21:55 PM »

I'm interested too...
Logged
emagin
Newbie
*

Karma: +1/-0
Posts: 16


View Profile
« Reply #22 on: October 30, 2008, 06:39:58 PM »

Notes on Installation:
The file (above) must be placed in your ROOT directory, next to configuration.php.

If you store config elsewhere or if you put it in a /dir under root, then you must make sure to edit the file line 9 to reflect this:
Code:
include "configuration.php";

Issues
Currently I still see raw html in the feed item summaries, which is not very helpful.

Anyone know how to fix this?
Logged

JcalPro 1.6.0 b.176  Th:Default
J! 1.015  MySql 4.1.22 [DB latin-1]  PHP 5.2.0  Apache/1.3.37
Pages: 1 [2]
Print
Jump to:  

Powered by SMF 1.1.6 | SMF © 2006-2008, Simple Machines LLC
Joomla Bridge by JoomlaHacks.com

Original Joomla Template design by RocketTheme ( Conversion by Bloc)