[ABD]simple rss mod for phpbb3

Any abandoned MODs will be moved to this forum.

WARNING: MODs in this forum are not currently being supported or maintained by the original MOD author. Proceed at your own risk.
Forum rules
IMPORTANT: MOD Development Forum rules

WARNING: MODs in this forum are not currently being supported nor updated by the original MOD author. Proceed at your own risk.
User avatar
jmaraujo
Registered User
Posts: 240
Joined: Fri Jun 01, 2007 9:48 pm
Location: Rivera - Uruguay
Name: Juan

Re: [RC1]simple rss mod for phpbb3

Post by jmaraujo »

manchumahara wrote:Updated to new version 1.0.5. Check the first post. Now Feed validation error is fixed. The mod is also submitted to moddb for approval. Check here for approved vesion(1.0.4)
Hi. First of all, thanks for this mod.

I've updated to ver. 1.0.5 but I'm having this errors when trying to validate the feed...
This feed does not validate.

line 18, column 87: pubDate must be an RFC-822 date-time: Dom, 21 Sep 2008 14:48:52 GMT (19 occurrences) [help]
... <pubDate>Dom, 21 Sep 2008 14:48:52 GMT</pubDate> ...

In addition, interoperability with the widest range of feed readers could be improved by implementing the following recommendation.

line 4, column 96: Self reference doesn't match document location [help]
... rel="self" type="application/rss+xml" />
How can I fix that? :oops:

Thanks in advance! ;)
User avatar
manchumahara
Registered User
Posts: 65
Joined: Sun Jul 15, 2007 2:07 pm
Location: Bangladesh
Contact:

Re: [RC1]simple rss mod for phpbb3

Post by manchumahara »

Which validator u have used ?
BTW what is "DOM" in date "Dom, 21 Sep 2008 14:48:52 GMT" ? If u use your local language for month name or date then it will give validation error. I have checked the rss feed with http://validator.w3.org/feed/ and http://feedvalidator.org/. At least I didn't find any error. One validator gave me some suggestion for better feed but no error.
User avatar
jmaraujo
Registered User
Posts: 240
Joined: Fri Jun 01, 2007 9:48 pm
Location: Rivera - Uruguay
Name: Juan

Re: [RC1]simple rss mod for phpbb3

Post by jmaraujo »

Hi, manchumahara. Thanks for the reply. ;)

I used this one:
http://validator.w3.org/feed/check.cgi? ... D_FEED_URL}

...and this one:
http://feedvalidator.org/check.cgi?url={BOARD_FEED_URL}

About the "Dom" question, I realized the same thing, but I don't know why is parsed like that.

Dom is short for Domingo (Sunday in spanish). I haven't changed anything, just installed the mod. I don't know why it is parsing:

Dom, 21 Sep 2008 14:48:52 GMT

instead of:

Sun, 21 Sep 2008 14:48:52 GMT
User avatar
Canis-Lupus
Registered User
Posts: 91
Joined: Wed May 21, 2008 4:49 pm

Re: [RC1]simple rss mod for phpbb3

Post by Canis-Lupus »

Will this mod work for a subsilver based theme such as Darkfantasy?
User avatar
jmaraujo
Registered User
Posts: 240
Joined: Fri Jun 01, 2007 9:48 pm
Location: Rivera - Uruguay
Name: Juan

Re: [RC1]simple rss mod for phpbb3

Post by jmaraujo »

jmaraujo wrote:Dom is short for Domingo (Sunday in spanish). I haven't changed anything, just installed the mod. I don't know why it is parsing:

Dom, 21 Sep 2008 14:48:52 GMT

instead of:

Sun, 21 Sep 2008 14:48:52 GMT
If I change my board's default language to english, then the feed is validated.

So, it seems the problem is that my forum is parsing the date in the default language (spanish), so it's not getting validated...

Is there any way of modding the rss.php file so the pubdate is always sent in english?

Thanks!
zyx6789
Registered User
Posts: 27
Joined: Sat Oct 30, 2004 5:25 pm

Re: [RC1]simple rss mod for phpbb3

Post by zyx6789 »

Is anyone having problems when the rss brakes when there is code in the messages? Each time someone post code in the forum, the feed stops validating using Feed Validator, showing something like:

Code: Select all

column 1944: 'utf8' codec can't decode byte 0xa0 in position 7603: unexpected code byte (maybe a high-bit character?)

    ...  pFeature As IFeature<br />? Dim pPt_Geometry As IGeometry<br / ...
As a side effect, the feed completely brakes in Feedburner

I confirm, that date makes for localized forums, the date part of the the feed produces an error during validation:

Code: Select all

column 86: pubDate must be an RFC-822 date-time: Вт, 23 сен 2008 17:37:03 GMT (30 occurrences)

    ...    <pubDate>Вт, 23 сен 2008 17:37:03 GMT</pubDate>
User avatar
jmaraujo
Registered User
Posts: 240
Joined: Fri Jun 01, 2007 9:48 pm
Location: Rivera - Uruguay
Name: Juan

Re: [RC1]simple rss mod for phpbb3

Post by jmaraujo »

Any tip on how to fix the non-english boards pubdate error in validation?

Any help is much appreciated. Thanks in advance! ;)
Xorro
Registered User
Posts: 62
Joined: Wed Jan 04, 2006 1:24 pm
Location: UK

Re: [RC1]simple rss mod for phpbb3

Post by Xorro »

I am getting some errors when trying to validate the rss in Google Sitemaps -

*edit* The forum is chopping off the right hand side of the image where the error is - you can view the whole image here - https://camo.phpbb.com/79375c5e8813bb4d66597fd35611d92610d02d7a/687474703a2f2f7777772e786f72726f2e636f2e756b2f74656d702f676f6f676c656572726f722e6a7067


Image

And this is the code generated by rss.php

Code: Select all

<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"  xmlns:atom="http://www.w3.org/2005/Atom">
<channel>
<atom:link href="http://www.xorro.co.uk/forums/mpsforum/rss.php" rel="self" type="application/rss+xml" /> 
  <title>Pure MPS. Mazda MPS owners forum.</title>
  <link>http://www.xorro.co.uk/forums/mpsforum</link>
  <description>Mazda Performance Services Forum. For Mazda3 MPS, Mazda6 MPS and Mazda2 MPS.</description>
  <language>en</language>
  <copyright>  Pure MPS. Mazda MPS owners forum.</copyright>     
  <managingEditor>xorro.online@virgin.net (Pure MPS. Mazda MPS owners forum.)</managingEditor>  
   <generator>Pure MPS. Mazda MPS owners forum.</generator>
  <ttl>1</ttl>  

                                  <item>
                                  <title>Mazda3 MPS. How to fit a K&N filter (#33-2293)</title>
                                  <link>http://www.xorro.co.uk/forums/mpsforum/viewtopic.php?f=4&t=23#p42</link>
                                  <description>by Xorro (Posted Tue, 30 Sep 2008 17:19:10 GMT)<br/>Second treat for the MPS, a K&N drop-in filter. <br /><br />First off, pop open the airbox. Then wiggle it a lot to work it loose to allow you to pull out the old filter.<br /><br /><img src="http://www.xorro.co.uk/vehicles/mps/images/mps_kn_filter_1.jpg" alt="Image" /><br /><br />Old and new comparison.<br /><br /><img src="http://www.xorro.co.uk/vehicles/mps/images/mps_kn_filter_2.jpg" alt="Image" /><br /><br />The new filter should just slide in, and is a bit easier as it's much thinner than the OEM one. Wiggle the top of the air box back into position, and push the clips back into position.<br /><br /><img src="http://www.xorro.co.uk/vehicles/mps/images/mps_kn_filter_3.jpg" alt="Image" /><br /><br />I've not had the chance for a long drive, but first impressions are that the car feels smoother and there's a bit more growl from the front end.  <img src="http://www.xorro.co.uk/forums/mpsforum/images/smilies/icon_e_smile.gif" alt=":)" title="Smile" /><br /><br /><a href="http://www.xorro.co.uk/forums/mpsforum/viewtopic.php?f=4&t=23"></a><hr /></description>
                                        					    <pubDate>Tue, 30 Sep 2008 17:19:10 GMT</pubDate>                                        
                            	    <guid isPermaLink="true">http://www.xorro.co.uk/forums/mpsforum/viewtopic.php?f=4&t=23#p42</guid>		   					
                                      </item>
                                  <item>
                                  <title>Black mica Mazda3 MPS detail</title>
                                  <link>http://www.xorro.co.uk/forums/mpsforum/viewtopic.php?f=19&t=22#p41</link>
                                  <description>by Xorro (Posted Sun, 28 Sep 2008 14:57:53 GMT)<br/>I've had my MPS for a couple of weeks now, and have been desperate to get working on the paintwork. <br /><br />The car was a year old with 2400 miles on it, so I didn't expect there to be a lot of work to do - however the paint did appear to be quite grey and hazy.<br /><br />The work I have done took place over 3 separate days as I didn't have time to do it all in one go.<br /><br />The car was washed with AG Body work shampoo, clayed and dried with a WWDT.<br /><br />The products used were -<br />Biltema<br />AG SRP (with Biltema)<br />CG Ez Glaze (with Biltema)<br />CG M-Seal - by hand<br />CG BWW - by hand<br />Megs Endurance Gel<br />PB Natural Look<br />CG Rim Wax<br />AG Glass Polish<br /><br />First off a few 'before' shots -<br />(car wasn't particularly dirty)<br /><br /><img src="http://www.xorro.co.uk/vehicles/mps/images/maz3m_003.jpg" alt="Image" /><br /><br /><br />A few pictures of the hazy paintwork -<br /><img src="http://www.xorro.co.uk/vehicles/mps/images/maz_detail_b_01.jpg" alt="Image" /><br /><br /><img src="http://www.xorro.co.uk/vehicles/mps/images/maz_detail_b_02.jpg" alt="Image" /><br /><br />Note that a Vauxhall Signum is great for putting polishing pads on, lol.<br /><img src="http://www.xorro.co.uk/vehicles/mps/images/maz_detail_b_03.jpg" alt="Image" /><br /><br /><span style="font-weight: bold">During</span><br /><br /><img src="http://www.xorro.co.uk/vehicles/mps/images/maz_detail_a_01.jpg" alt="Image" /><br /><br />Couldn't resist this picture with the tree <img src="http://www.xorro.co.uk/forums/mpsforum/images/smilies/icon_e_smile.gif" alt=":)" title="Smile" /><br /><img src="http://www.xorro.co.uk/vehicles/mps/images/maz_detail_a_02.jpg" alt="Image" /><br /><br />Reflection shot of the Biltema<br /><img src="http://www.xorro.co.uk/vehicles/mps/images/maz_detail_a_03.jpg" alt="Image" /><br /><br /><br /><span style="font-weight: bold">After</span><br /><br />Some good reflections from the door<br /><img src="http://www.xorro.co.uk/vehicles/mps/images/maz_detail_a_04.jpg" alt="Image" /><br /><br />Look! We have flake <img src="http://www.xorro.co.uk/forums/mpsforum/images/smilies/icon_e_smile.gif" alt=":)" title="Smile" /><br /><img src="http://www.xorro.co.uk/vehicles/mps/images/maz_detail_a_05.jpg" alt="Image" /><br /><br />More flake<br /><img src="http://www.xorro.co.uk/vehicles/mps/images/maz_detail_a_06.jpg" alt="Image" /><br /><br />Plastics done with PB Natural look.<br /><img src="http://www.xorro.co.uk/vehicles/mps/general/maz_detail_a_07.jpg" alt="Image" /><br /><br />All 4 wheels tool me an hour to do. The process was wash, clay, dry. SRP, Ez Glaze, M-Seal the CG Rim Wax. Later they were finished with some Megs Endurance.<br /><img src="http://www.xorro.co.uk/vehicles/mps/general/maz_detail_a_08.jpg" alt="Image" /><br /><br />Exhaust cleaned inside and out with Autosol.<br /><img src="http://www.xorro.co.uk/vehicles/mps/general/maz_detail_a_09.jpg" alt="Image" /><br /><br />Light was starting to go by the end...<br /><img src="http://www.xorro.co.uk/vehicles/mps/general/maz_detail_a_10.jpg" alt="Image" /><br /><br /><img src="http://www.xorro.co.uk/vehicles/mps/general/maz_detail_a_11.jpg" alt="Image" /><br /><br />I even dressed each individual 'cell' of the grill with Natural Look.<br /><img src="http://www.xorro.co.uk/vehicles/mps/general/maz_detail_a_12.jpg" alt="Image" /><br /><br /><img src="http://www.xorro.co.uk/vehicles/mps/general/maz_detail_a_13.jpg" alt="Image" /><br /><br />AG Glass polish was used inside and out.<br /><br /><a href="http://www.xorro.co.uk/forums/mpsforum/viewtopic.php?f=19&t=22"></a><hr /></description>
                                        					    <pubDate>Sun, 28 Sep 2008 14:57:53 GMT</pubDate>                                        
                            	    <guid isPermaLink="true">http://www.xorro.co.uk/forums/mpsforum/viewtopic.php?f=19&t=22#p41</guid>		   					
                                      </item>
                                  <item>
                                  <title>Mazda3 Extreme</title>
                                  <link>http://www.xorro.co.uk/forums/mpsforum/viewtopic.php?f=14&t=21#p40</link>
                                  <description>by Xorro (Posted Fri, 26 Sep 2008 15:04:32 GMT)<br/><div class="quotetitle">Car Blog wrote:</div><div class="quotecontent"><img src="http://www.xorro.co.uk/vehicles/mps/general/mazda3extreme1.jpg" alt="Image" /><br />Mazda has unveiled today a modified version of the Mazda3 MPS (Mazdaspeed3 in the U.S.) at the 2007 Sydney Motorshow. The Mazda3 MPS Extreme has received engine, suspension and exhaust upgrades that according to Mazda, improve performance by about 20%. The Mazda3 MPS Extreme's 2.3-litre turbocharged engine has been modified by Mazda Australia Motorsport Manager, Allan Horsley who recalculated the car&#8217;s Powertrain Control Module (PCM) raising output by 19 Hp to a total of 281 Hp at 5,300 rpm and maximum torque by 32-lbs-ft to 313.5-lbs/ft (425 Nm) at 4,400 rpm. Other mechanical modifications include a free-flowing two-inch exhaust system and a sports muffler that ensures a "deep-throat" exhaust note.<br /><br />The Mazda3 MPS Extreme also sits 25mm lower than the standard MPS, giving it a sportier stance. The MPS Extreme is equipped with 19-inch BBS alloy wheels and Dunlop Sports tires (225/35ZR19). <br /><img src="http://www.xorro.co.uk/vehicles/mps/general/mazda3extreme2.jpg" alt="Image" /><br /></div><br /><br /><a href="http://www.xorro.co.uk/forums/mpsforum/viewtopic.php?f=14&t=21"></a><hr /></description>
                                        					    <pubDate>Fri, 26 Sep 2008 15:04:32 GMT</pubDate>                                        
                            	    <guid isPermaLink="true">http://www.xorro.co.uk/forums/mpsforum/viewtopic.php?f=14&t=21#p40</guid>		   					
                                      </item>
                                  <item>
                                  <title>Come and join for a chat</title>
                                  <link>http://www.xorro.co.uk/forums/mpsforum/viewtopic.php?f=17&t=7#p39</link>
                                  <description>by macker (Posted Fri, 26 Sep 2008 14:48:02 GMT)<br/>Is there anybody there ... knock once for yes .... twice for no  <img src="http://www.xorro.co.uk/forums/mpsforum/images/smilies/icon_e_wink.gif" alt=";)" title="Wink" /><br /><br /><a href="http://www.xorro.co.uk/forums/mpsforum/viewtopic.php?f=17&t=7"></a><hr /></description>
                                        					    <pubDate>Fri, 26 Sep 2008 14:48:02 GMT</pubDate>                                        
                            	    <guid isPermaLink="true">http://www.xorro.co.uk/forums/mpsforum/viewtopic.php?f=17&t=7#p39</guid>		   					
                                      </item>
                                  <item>
                                  <title>TYRES</title>
                                  <link>http://www.xorro.co.uk/forums/mpsforum/viewtopic.php?f=13&t=9#p38</link>
                                  <description>by Xorro (Posted Fri, 26 Sep 2008 13:39:38 GMT)<br/>Did the 6 come with Potenzas originally?<br /><br /><a href="http://www.xorro.co.uk/forums/mpsforum/viewtopic.php?f=13&t=9"></a><hr /></description>
                                        					    <pubDate>Fri, 26 Sep 2008 13:39:38 GMT</pubDate>                                        
                            	    <guid isPermaLink="true">http://www.xorro.co.uk/forums/mpsforum/viewtopic.php?f=13&t=9#p38</guid>		   					
                                      </item>
                                  <item>
                                  <title>HEADLIGHTS</title>
                                  <link>http://www.xorro.co.uk/forums/mpsforum/viewtopic.php?f=13&t=10#p37</link>
                                  <description>by Xorro (Posted Fri, 26 Sep 2008 13:38:58 GMT)<br/>The single rear fog is a shame, spoils the symmetry.<br /><br />I thought you had to get the Xenons changed at the dealer, or was that just a Mazda money-making lie? <img src="http://www.xorro.co.uk/forums/mpsforum/images/smilies/icon_e_smile.gif" alt=":)" title="Smile" /><br /><br /><a href="http://www.xorro.co.uk/forums/mpsforum/viewtopic.php?f=13&t=10"></a><hr /></description>
                                        					    <pubDate>Fri, 26 Sep 2008 13:38:58 GMT</pubDate>                                        
                            	    <guid isPermaLink="true">http://www.xorro.co.uk/forums/mpsforum/viewtopic.php?f=13&t=10#p37</guid>		   					
                                      </item>
                                  <item>
                                  <title>FUEL</title>
                                  <link>http://www.xorro.co.uk/forums/mpsforum/viewtopic.php?f=13&t=11#p36</link>
                                  <description>by Xorro (Posted Fri, 26 Sep 2008 13:37:32 GMT)<br/>Hi all, I have my Mazda3 MPS now <img src="http://www.xorro.co.uk/forums/mpsforum/images/smilies/icon_e_smile.gif" alt=":)" title="Smile" /><br /><br />Just recently discovered that I'm suposed to be putting super unleaded in it! I've been using BP Ultimate as I like to collect the Nectar points <img src="http://www.xorro.co.uk/forums/mpsforum/images/smilies/icon_e_smile.gif" alt=":)" title="Smile" /><br /><br />Is Tescos petrol really that good? I've never been a fan of supermarket stuff.<br /><br />Oh yes, and I have a K&N coming soon <img src="http://www.xorro.co.uk/forums/mpsforum/images/smilies/icon_e_smile.gif" alt=":)" title="Smile" /><br /><br /><a href="http://www.xorro.co.uk/forums/mpsforum/viewtopic.php?f=13&t=11"></a><hr /></description>
                                        					    <pubDate>Fri, 26 Sep 2008 13:37:32 GMT</pubDate>                                        
                            	    <guid isPermaLink="true">http://www.xorro.co.uk/forums/mpsforum/viewtopic.php?f=13&t=11#p36</guid>		   					
                                      </item>
                                  <item>
                                  <title>The C1 platform</title>
                                  <link>http://www.xorro.co.uk/forums/mpsforum/viewtopic.php?f=14&t=20#p34</link>
                                  <description>by Xorro (Posted Thu, 25 Sep 2008 08:44:46 GMT)<br/>The Mazda3 shares the C1 platform with a few other cars, such as the Ford Focus, Volvo S40 & V50, Ford CMAX, Mazda5 and Volvo C30.<br /><br /><a href="http://www.xorro.co.uk/forums/mpsforum/viewtopic.php?f=14&t=20"></a><hr /></description>
                                        					    <pubDate>Thu, 25 Sep 2008 08:44:46 GMT</pubDate>                                        
                            	    <guid isPermaLink="true">http://www.xorro.co.uk/forums/mpsforum/viewtopic.php?f=14&t=20#p34</guid>		   					
                                      </item>
                                  <item>
                                  <title>2.3l turbo MZR DISI Engine</title>
                                  <link>http://www.xorro.co.uk/forums/mpsforum/viewtopic.php?f=4&t=19#p33</link>
                                  <description>by Xorro (Posted Tue, 23 Sep 2008 10:30:39 GMT)<br/><div class="quotetitle">Ford, South Africa wrote:</div><div class="quotecontent"><br />    The heart of every Mazda is its spirited power train – the ground breaking 2.3-litre DISI Turbo embodies the spirit of the Zoom-Zoom philosophy and takes it quantum leaps forward.<br /><br />    The MZR 2.3 DISI Turbo is Mazda’s latest generation engine, developed and engineered to fully embody the company’s spirited DNA and be the ultimate expression of the Zoom-Zoom experience.<br /><br />    DISI stands for Direct Injection Spark Ignition and the engine function hinges on exactly this description. In other words, the fuel is injected directly into the combustion chamber where the ignition is via centre-mounted spark plugs.<br /><br />    The 2.3 DISI Turbo engine was developed to have the best balance among light weight, fuel efficiency and power. Superior to a V6 engine that has the same level output in terms of fuel efficiency and emissions, the DISI Turbo is also lighter and smaller than the V6, decreasing weight in the front of the vehicle. The result – nimble handling that is distinctively characteristic of Mazda products.<br /><br />    The powerful MZR 2.3 DISI Turbo engine features in the Mazda3 MPS, Mazda CX-7 and the stylish Mazda6 MPS.<br /><br />    Engineered to deliver high performance at all speeds, along with low exhaust emissions and excellent fuel economy, Mazda's 2.3 DISI turbo-charged engine produces an enthusiastic 191kW at 5 500rpm and offers up a sizeable torque peak of 380Nm at just 3 000rpm in the Mazda6 MPS. The 0-100km/h sprint is achieved in just 6.6 seconds, but that doesn’t mean you’ll be breaking the bank for the fuel bill.<br /><br />    Key advantages of the DISI Turbo engine:<br /><br />        * Outstanding acceleration – the DISI engine has been specifically designed to out-perform naturally aspirated large capacity engines.<br />        * Flat torque curve – With 90% of the engines usability available above<br /><br />    2 500rpm there is virtually no turbo lag.<br /><br />        * Low fuel consumption – the high compression ratio contributes to excellent fuel economy.<br />        * Environmental compatibility – fast catalytic heat-up results in low emission levels.<br /><br />    “The DISI Turbo is more than just a high performance machine – it combines tremendous power with user-friendly driveability and unparalleled fuel efficiency. It takes modern motor engineering into the future and is on the leading edge of motoring dynamics,” explains Doreen Mashinini Marketing Manager Mazda South Africa.<br /><br />    “In order to achieve the overwhelming driving experience which is distinctive of Mazda, the engineers developed an engine that embodies the best of both worlds. The DISI engine boasts outstanding acceleration with high levels of controllability throughout the rev range.”<br /><br />    Introducing a direct injection system to the turbo engine infuses the already powerful acceleration that is characteristic of turbo performance with ample low and mid range to deliver excellent response, while also realising lower exhaust emissions. This is like combining the best of diesel output (lower speeds) and petrol engines (higher speeds). In other words the best of both worlds. All told, this next generation power unit brings a new dimension to Zoom-Zoom performance that Mazda simply could not produce with a large displacement naturally aspirated engine.<br /><br />    Increased low to mid-range torque – The internal cooling effect when fuel, at pressures as high as 11.5mPa is injected directly into the combustion chamber, improves the loading efficiency of the cylinders resulting in a linear increase of rotation speed of the turbocharger’s compressor blades. The turbocharger compressor starts adding substantial boost from around 2 500rpm and torque is increased by up to 10 percent at around 3 000rpm, resulting in outstanding engine response in the low to mid range.<br /><br />    A single turbocharger covers all speeds - The merits of the direct injection system noted above make effective boost possible from low through high speeds using a single-scroll turbocharger, which is light in weight and simple in construction. The thermal capacity of the exhaust system is thereby greatly reduced, minimising the decrease in temperature of exhaust gases to help comply with strict emission regulation.<br /><br />    High compression ratio contributes to improved fuel economy: The internal cooling effect within the combustion chamber improves anti-knock characteristics and improves the engine’s fuel economy without losing low-end torque, even running at a high compression ratio.<br /><br />    The form and materials used for the respective components are optimised to bear the added load and heat of the increased output. The cylinder block and cylinder head are made using a new implementation of the Advanced Precision Mazda Casting process, which increases their strength. In addition, cross drilling between the block liners and between the valve bridges on the cylinder head improves resistance to heat. The crankshaft and connecting rods are made of steel, the diameters of the connecting pins increased, the shape of the rods optimised, full floating pistons introduced, and made to ensure that all moving parts are stronger, more rigid and more durable.<br /><br />    Special effort was made in the tuning of the exhaust to optimise torque output and present an appealing exhaust tone that heightens the Zoom-Zoom driving experience. The shape and size of the inner diameter of the exhaust pipes and the internal structure of the silencer produces a throaty, sporty sound when accelerating from a standing start from a low speed, and a pleasing linear curve at high speeds. The exhaust system also adopts a tailpipe with attached diffuser that enhances the sporty appearance.<br /><br />    An electronic throttle and an electronically controlled turbo boost system deliver a superior balance between refined linear acceleration and lively, aggressive response with the relatively high-torque from low speeds produced by the direct injection engine.<br /><br />    “With the DISI Turbo engine, Mazda will dramatically enter the high performance market,” continues Mashinini. “It is the next generation in the Mazda Zoom-Zoom annals, offering formidable driving pleasure that will awaken your inner child".<br /><br />    “It is without doubt a quantum leap in Mazda engineering and we look forward to the prospect of the DISI engine making waves on the local market. Something special is coming,” she concluded.<br /></div><br /><br /><a href="http://www.xorro.co.uk/forums/mpsforum/viewtopic.php?f=4&t=19"></a><hr /></description>
                                        					    <pubDate>Tue, 23 Sep 2008 10:30:39 GMT</pubDate>                                        
                            	    <guid isPermaLink="true">http://www.xorro.co.uk/forums/mpsforum/viewtopic.php?f=4&t=19#p33</guid>		   					
                                      </item>
                                  <item>
                                  <title>Welcome to the Mazda MPS Forums</title>
                                  <link>http://www.xorro.co.uk/forums/mpsforum/viewtopic.php?f=9&t=3#p32</link>
                                  <description>by Xorro (Posted Tue, 23 Sep 2008 09:23:11 GMT)<br/>Slight update, in that I now have a Mazda3 MPS. lol<br /><br /><a href="http://www.xorro.co.uk/forums/mpsforum/viewtopic.php?f=9&t=3"></a><hr /></description>
                                        					    <pubDate>Tue, 23 Sep 2008 09:23:11 GMT</pubDate>                                        
                            	    <guid isPermaLink="true">http://www.xorro.co.uk/forums/mpsforum/viewtopic.php?f=9&t=3#p32</guid>		   					
                                      </item>
                                  <item>
                                  <title>Discontinued</title>
                                  <link>http://www.xorro.co.uk/forums/mpsforum/viewtopic.php?f=13&t=18#p31</link>
                                  <description>by Xorro (Posted Tue, 23 Sep 2008 09:09:59 GMT)<br/>While looking to buy a Mazda6 or Mazda3 MPS I was quite sad to find that the Mazda6 MPS has been discontinued.<br /><br />This is due to Mazda not being able to fit the 2.3 turbo DISI engine into the new shape Mazda6.<br /><br />Handy if you are looking to buy a 6 MPS as prices have fallen quite a bit.<br /><br /><a href="http://www.xorro.co.uk/forums/mpsforum/viewtopic.php?f=13&t=18"></a><hr /></description>
                                        					    <pubDate>Tue, 23 Sep 2008 09:09:59 GMT</pubDate>                                        
                            	    <guid isPermaLink="true">http://www.xorro.co.uk/forums/mpsforum/viewtopic.php?f=13&t=18#p31</guid>		   					
                                      </item>
                                  <item>
                                  <title>Mazda3 MPS bulbs.</title>
                                  <link>http://www.xorro.co.uk/forums/mpsforum/viewtopic.php?f=5&t=17#p30</link>
                                  <description>by Xorro (Posted Tue, 23 Sep 2008 09:08:30 GMT)<br/>Front - Offset<br />Rear - T20 Wedge<br /><br /><a href="http://www.xorro.co.uk/forums/mpsforum/viewtopic.php?f=5&t=17"></a><hr /></description>
                                        					    <pubDate>Tue, 23 Sep 2008 09:08:30 GMT</pubDate>                                        
                            	    <guid isPermaLink="true">http://www.xorro.co.uk/forums/mpsforum/viewtopic.php?f=5&t=17#p30</guid>		   					
                                      </item>
                                  <item>
                                  <title>Gallery pics of the Mazda 3 MPS</title>
                                  <link>http://www.xorro.co.uk/forums/mpsforum/viewtopic.php?f=14&t=16#p29</link>
                                  <description>by Xorro (Posted Wed, 17 Sep 2008 11:55:58 GMT)<br/><!-- m --><a class="postlink" href="http://media.mazda.ch/dossiers/Mazda3MPS/Photo3-D.htm">http://media.mazda.ch/dossiers/Mazda3MPS/Photo3-D.htm</a><!-- m --><br /><br /><a href="http://www.xorro.co.uk/forums/mpsforum/viewtopic.php?f=14&t=16"></a><hr /></description>
                                        					    <pubDate>Wed, 17 Sep 2008 11:55:58 GMT</pubDate>                                        
                            	    <guid isPermaLink="true">http://www.xorro.co.uk/forums/mpsforum/viewtopic.php?f=14&t=16#p29</guid>		   					
                                      </item>
                                  <item>
                                  <title>iPod fitting kit</title>
                                  <link>http://www.xorro.co.uk/forums/mpsforum/viewtopic.php?f=5&t=15#p28</link>
                                  <description>by Xorro (Posted Wed, 17 Sep 2008 09:34:08 GMT)<br/><!-- m --><a class="postlink" href="http://www.mazda3forums.com/index.php?topic=37271.0">http://www.mazda3forums.com/index.php?topic=37271.0</a><!-- m --><br /><br /><a href="http://www.xorro.co.uk/forums/mpsforum/viewtopic.php?f=5&t=15"></a><hr /></description>
                                        					    <pubDate>Wed, 17 Sep 2008 09:34:08 GMT</pubDate>                                        
                            	    <guid isPermaLink="true">http://www.xorro.co.uk/forums/mpsforum/viewtopic.php?f=5&t=15#p28</guid>		   					
                                      </item>
                                  <item>
                                  <title>My Mazda3 MPS</title>
                                  <link>http://www.xorro.co.uk/forums/mpsforum/viewtopic.php?f=2&t=14#p27</link>
                                  <description>by Xorro (Posted Wed, 17 Sep 2008 09:33:27 GMT)<br/>Well, it seems like such a long wait from putting the deposit on it last Wednesday, but today I picked it up  <img src="http://www.xorro.co.uk/forums/mpsforum/images/smilies/icon_e_biggrin.gif" alt=":D" title="Very Happy" /><br />For those that don't know it's a 57 with just under 2500 miles on it.<br /><br />I have some work to do on it as the paintwork isn't up to the standard I like, so hopefully I will get the opportunity to fully detail it before winter arrives.<br /><br /><br />A brief stop around the corner from the dealer to adjust the seat etc. and to get the first photo's of the beastie.<br /><br /><br />[url=http://www.xorro.co.uk/vehicles/mps/images/maz3m_001.jpg]<br /><img src="http://www.xorro.co.uk/vehicles/mps/images/maz3m_001.jpg" alt="Image" />[/url]<br /><br /><br /><br />[url=http://www.xorro.co.uk/vehicles/mps/images/maz3m_002.jpg]<br /><img src="http://www.xorro.co.uk/vehicles/mps/images/maz3m_002.jpg" alt="Image" />[/url]<br /><br /><br /><br />[url=http://www.xorro.co.uk/vehicles/mps/images/maz3m_003.jpg]<br /><img src="http://www.xorro.co.uk/vehicles/mps/images/maz3m_003.jpg" alt="Image" />[/url]<br /><br /><br />At it's new home.<br /><br />[url=http://www.xorro.co.uk/vehicles/mps/images/maz3m_004.jpg]<br /><img src="http://www.xorro.co.uk/vehicles/mps/images/maz3m_004.jpg" alt="Image" />[/url]<br /><br /><br /><br />[url=http://www.xorro.co.uk/vehicles/mps/images/maz3m_005.jpg]<br /><img src="http://www.xorro.co.uk/vehicles/mps/images/maz3m_005.jpg" alt="Image" />[/url]<br /><br /><br /><br />[url=http://www.xorro.co.uk/vehicles/mps/images/maz3m_006.jpg]<br /><img src="http://www.xorro.co.uk/vehicles/mps/images/maz3m_006.jpg" alt="Image" />[/url]<br /><br /><br /><br />[url=http://www.xorro.co.uk/vehicles/mps/images/maz3m_007.jpg]<br /><img src="http://www.xorro.co.uk/vehicles/mps/images/maz3m_007.jpg" alt="Image" />[/url]<br /><br /><br /><br />[url=http://www.xorro.co.uk/vehicles/mps/images/maz3m_008.jpg]<br /><img src="http://www.xorro.co.uk/vehicles/mps/images/maz3m_008.jpg" alt="Image" />[/url]<br /><br /><br />Of course the most important thing to do within 30 mins of getting the car home is to swap the orange indicator bulbs. Luckily the ones I removed from the Swift fit the rear of the Mazda3.<br /><br />[url=http://www.xorro.co.uk/vehicles/mps/images/maz3m_009.jpg]<br /><img src="http://www.xorro.co.uk/vehicles/mps/images/maz3m_009.jpg" alt="Image" />[/url]<br /><br /><br /><br />[url=http://www.xorro.co.uk/vehicles/mps/images/maz3m_010.jpg]<br /><img src="http://www.xorro.co.uk/vehicles/mps/images/maz3m_010.jpg" alt="Image" />[/url]<br /><br /><br />Also the dealership sticker has gone from the rear window. Plus the dealer tax disc holder was taken off and replaced with my black Richbrook one (also nabbed from the Swift before sale)<br /><br />[url=http://www.xorro.co.uk/vehicles/mps/images/maz3m_011.jpg]<br /><img src="http://www.xorro.co.uk/vehicles/mps/images/maz3m_011.jpg" alt="Image" />[/url]<br /><br /><br /><br />[url=http://www.xorro.co.uk/vehicles/mps/images/maz3m_012.jpg]<br /><img src="http://www.xorro.co.uk/vehicles/mps/images/maz3m_012.jpg" alt="Image" />[/url]<br /><br />Hope you all like it. <br /><br />Driving home required a lot of concentration to keep it at a legal speed!<br /><br /><a href="http://www.xorro.co.uk/forums/mpsforum/viewtopic.php?f=2&t=14"></a><hr /></description>
                                        					    <pubDate>Wed, 17 Sep 2008 09:33:27 GMT</pubDate>                                        
                            	    <guid isPermaLink="true">http://www.xorro.co.uk/forums/mpsforum/viewtopic.php?f=2&t=14#p27</guid>		   					
                                      </item>
                                  <item>
                                  <title>ECU UPDATE</title>
                                  <link>http://www.xorro.co.uk/forums/mpsforum/viewtopic.php?f=13&t=13#p26</link>
                                  <description>by Xorro (Posted Mon, 01 Sep 2008 18:13:29 GMT)<br/>Is this just something available on the 6, or is it on the 3 too?<br /><br /><a href="http://www.xorro.co.uk/forums/mpsforum/viewtopic.php?f=13&t=13"></a><hr /></description>
                                        					    <pubDate>Mon, 01 Sep 2008 18:13:29 GMT</pubDate>                                        
                            	    <guid isPermaLink="true">http://www.xorro.co.uk/forums/mpsforum/viewtopic.php?f=13&t=13#p26</guid>		   					
                                      </item>
                                  <item>
                                  <title>Back seat</title>
                                  <link>http://www.xorro.co.uk/forums/mpsforum/viewtopic.php?f=13&t=12#p20</link>
                                  <description>by FOXY (Posted Sat, 16 Feb 2008 16:23:57 GMT)<br/>It appears that they can but you are still left with the crossmembers.<br />See forum.mazda6club.com<br /><br /><a href="http://www.xorro.co.uk/forums/mpsforum/viewtopic.php?f=13&t=12"></a><hr /></description>
                                        					    <pubDate>Sat, 16 Feb 2008 16:23:57 GMT</pubDate>                                        
                            	    <guid isPermaLink="true">http://www.xorro.co.uk/forums/mpsforum/viewtopic.php?f=13&t=12#p20</guid>		   					
                                      </item>
                                  <item>
                                  <title>Macker</title>
                                  <link>http://www.xorro.co.uk/forums/mpsforum/viewtopic.php?f=10&t=6#p17</link>
                                  <description>by Xorro (Posted Sat, 02 Feb 2008 16:09:29 GMT)<br/>Go to this section <!-- l --><a class="postlink-local" href="http://www.xorro.co.uk/mpsforum/viewforum.php?f=4">viewforum.php?f=4</a><!-- l --> and click New Topic<br /><br /><a href="http://www.xorro.co.uk/forums/mpsforum/viewtopic.php?f=10&t=6"></a><hr /></description>
                                        					    <pubDate>Sat, 02 Feb 2008 16:09:29 GMT</pubDate>                                        
                            	    <guid isPermaLink="true">http://www.xorro.co.uk/forums/mpsforum/viewtopic.php?f=10&t=6#p17</guid>		   					
                                      </item>
                                  <item>
                                  <title>CLUTCH</title>
                                  <link>http://www.xorro.co.uk/forums/mpsforum/viewtopic.php?f=13&t=8#p14</link>
                                  <description>by FOXY (Posted Sat, 02 Feb 2008 14:20:16 GMT)<br/>This has got to be the cars greatest problem. The sudden clutch can be adjusted to a degree but it still does not get over the ridiculously heavy clutch. I've even had tyre mechanics complain and they drive everything on the road! My wife refuses to drive it which means if I keep it, and I really do for all its fantastic virtues, we will not be able to sell our other car, a IS200.  Does anyone have any answers?<br /><br /><a href="http://www.xorro.co.uk/forums/mpsforum/viewtopic.php?f=13&t=8"></a><hr /></description>
                                        					    <pubDate>Sat, 02 Feb 2008 14:20:16 GMT</pubDate>                                        
                            	    <guid isPermaLink="true">http://www.xorro.co.uk/forums/mpsforum/viewtopic.php?f=13&t=8#p14</guid>		   					
                                      </item>
                                  <item>
                                  <title>What Car - Mazda2 MPS</title>
                                  <link>http://www.xorro.co.uk/forums/mpsforum/viewtopic.php?f=15&t=4#p4</link>
                                  <description>by Xorro (Posted Tue, 22 Jan 2008 13:35:33 GMT)<br/>Full article: <!-- m --><a class="postlink" href="http://www.whatcar.co.uk/news-article.aspx?NA=228580">http://www.whatcar.co.uk/news-article.aspx?NA=228580</a><!-- m --><br /><br /><div class="quotetitle">What Car wrote:</div><div class="quotecontent">Hot hatch fans will have to wait at least two years for a go-faster version of the new Mazda 2.<br /><br />Officially, the Japanese manufacturer says a 2 MPS could be made, but has no plans for a high-powered range-topper for the supermini.<br /><br />However Mazda UK is lobbying hard to make the car a reality.<br /><br />'Britain is a hot-hatch market,' said Mazda UK's marketing director, Mark Cameron. 'We can make a good business case for the car, but it's not part of the product plan for the next 18 months.'<br /><br />If the car does get the green light, it will wear the MPS badge which Mazda reserves for its high-performance models. Expect a turbocharged version of the 2's 1.5-litre engine putting out around 170bhp.<br /><br />'Because the 2 is lighter than most superminis, that kind of output would be enough to make it one of the best performing hot hatches on the road,' said Cameron.<br /><br />By the time the MPS could arrive, Mazda 2 range will already have expanded beyond the current choice of three models. A diesel arrives in December, and the three-door goes on sale in May.</div><br /><br /><a href="http://www.xorro.co.uk/forums/mpsforum/viewtopic.php?f=15&t=4"></a><hr /></description>
                                        					    <pubDate>Tue, 22 Jan 2008 13:35:33 GMT</pubDate>                                        
                            	    <guid isPermaLink="true">http://www.xorro.co.uk/forums/mpsforum/viewtopic.php?f=15&t=4#p4</guid>		   					
                                      </item>
                                  <item>
                                  <title>Offset and PCD</title>
                                  <link>http://www.xorro.co.uk/forums/mpsforum/viewtopic.php?f=11&t=2#p2</link>
                                  <description>by Xorro (Posted Tue, 22 Jan 2008 13:17:09 GMT)<br/>Mazda3 and Mazda6<br /><br />PCD<br />5x114.3<br /><br />Offset<br />35 to 45<br /><br />Bore	<br />67.1<br /><br /><a href="http://www.xorro.co.uk/forums/mpsforum/viewtopic.php?f=11&t=2"></a><hr /></description>
                                        					    <pubDate>Tue, 22 Jan 2008 13:17:09 GMT</pubDate>                                        
                            	    <guid isPermaLink="true">http://www.xorro.co.uk/forums/mpsforum/viewtopic.php?f=11&t=2#p2</guid>		   					
                                      </item>
                                  <item>
                                  <title>Welcome to phpBB3</title>
                                  <link>http://www.xorro.co.uk/forums/mpsforum/viewtopic.php?f=2&t=1#p1</link>
                                  <description>by Xorro (Posted Tue, 22 Jan 2008 12:15:26 GMT)<br/>This is an example post in your phpBB3 installation. Everything seems to be working. You may delete this post if you like and continue to set up your board. During the installation process your first category and your first forum are assigned an appropriate set of permissions for the predefined usergroups administrators, bots, global moderators, guests, registered users and registered COPPA users. If you also choose to delete your first category and your first forum, do not forget to assign permissions for all these usergroups for all new categories and forums you create. It is recommended to rename your first category and your first forum and copy permissions from these while creating new categories and forums. Have fun!<br /><br /><a href="http://www.xorro.co.uk/forums/mpsforum/viewtopic.php?f=2&t=1"></a><hr /></description>
                                        					    <pubDate>Tue, 22 Jan 2008 12:15:26 GMT</pubDate>                                        
                            	    <guid isPermaLink="true">http://www.xorro.co.uk/forums/mpsforum/viewtopic.php?f=2&t=1#p1</guid>		   					
                                      </item></channel></rss>
Do you know what could be causing the errors? Thanks.
The UK Hyundai Coupe Site and forums
Pure MPS Mazda MPS owners forum
User avatar
jmaraujo
Registered User
Posts: 240
Joined: Fri Jun 01, 2007 9:48 pm
Location: Rivera - Uruguay
Name: Juan

Re: [RC1]simple rss mod for phpbb3

Post by jmaraujo »

Maybe I'm wrong here, but I don't think you can use a RSS feed as a sitemap.

For sitemaps you can use the SiteMap Generator mod.
Xorro
Registered User
Posts: 62
Joined: Wed Jan 04, 2006 1:24 pm
Location: UK

Re: [RC1]simple rss mod for phpbb3

Post by Xorro »

You can now. Google allows you to add an RSS feed as well as a sitemap for your site.

You will notice at the top of my image that it knows the Format is RSS Feed.
The UK Hyundai Coupe Site and forums
Pure MPS Mazda MPS owners forum
zyx6789
Registered User
Posts: 27
Joined: Sat Oct 30, 2004 5:25 pm

Re: [RC1]simple rss mod for phpbb3

Post by zyx6789 »

As long as the author is not fixing problems with this mod, I gave it a try:

Problem 1: Incorrect date, can be fixed like this:

Find a string with $rss_result, before it add:

Code: Select all

$date = date("D, d M Y H:i:s O",$row['post_time']);
Find a string with <pubDate>, change it into:

Code: Select all

<pubDate>".$date."</pubDate>
Problem 2: Incorrect symbols in the xml corrupting the feed, can be fixed like this:

Find $text = html_entity_decode(generate_text_for_display($text, $bbcode_uid, $bbcode_bitfield, $bbcode_options));
Change into:

Code: Select all

$text = html_entity_decode(generate_text_for_display($text, $bbcode_uid, $bbcode_bitfield, $bbcode_options),ENT_NOQUOTES, 'UTF-8');
Both work for me very well, no problems with validation now. Use at your own risk, I'm not a programmer, I'm just angry at this small bugs.
User avatar
jmaraujo
Registered User
Posts: 240
Joined: Fri Jun 01, 2007 9:48 pm
Location: Rivera - Uruguay
Name: Juan

Re: [RC1]simple rss mod for phpbb3

Post by jmaraujo »

Xorro wrote:You can now. Google allows you to add an RSS feed as well as a sitemap for your site.

You will notice at the top of my image that it knows the Format is RSS Feed.
Hi, Xorro. Thanks for clearing that up. ;) I really didn't know that... :oops:

To xyz6789: After applying your modifications, the feed is being validated, but the date is showing wrongly:
<pubDate>Wed, 31 Dec 1969 19:00:00 -0500</pubDate>
It should be Wed, 1 Oct 2008. Is this right? Can you take a look at it?

Thanks in advance.
zyx6789
Registered User
Posts: 27
Joined: Sat Oct 30, 2004 5:25 pm

Re: [RC1]simple rss mod for phpbb3

Post by zyx6789 »

jmaraujo: PM me your rss.php
User avatar
jmaraujo
Registered User
Posts: 240
Joined: Fri Jun 01, 2007 9:48 pm
Location: Rivera - Uruguay
Name: Juan

Re: [RC1]simple rss mod for phpbb3

Post by jmaraujo »

zyx6789 wrote:jmaraujo: PM me your rss.php
Thank you zyx6789! ;) I was about to PM you my rss.php but I decided to double-check it and found I made a mistake in this part:
zyx6789 wrote:Find a string with $rss_result, before it add:

Code: Select all

$date = date("D, d M Y H:i:s O",$row['post_time']); 
I fixed it and now it's working fine:
Congratulations!
Image This is a valid RSS feed.

Code: Select all

# <?xml version="1.0" encoding="UTF-8"?>
# <rss version="2.0"  xmlns:atom="http://www.w3.org/2005/Atom">
# <channel>

(...)

<pubDate>Fri, 03 Oct 2008 21:32:31 -0400</pubDate>

(...)
Thank you manchumahara for this mod, and thank you zyx6789 for helping us fix the date problem!!! :D
zyx6789
Registered User
Posts: 27
Joined: Sat Oct 30, 2004 5:25 pm

Re: [RC1]simple rss mod for phpbb3

Post by zyx6789 »

great! congrats :)
Locked

Return to “[3.0.x] Abandoned MODs”