close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Creating an RSS feed using MySQLi? Converting from ASP/MSSQL.

Thread began 4/29/2016 5:35 am by Nathon Jones Web Design | Last modified 5/04/2016 10:34 am by Ray Borduin | 1261 views | 5 replies |

Nathon Jones Web Design

Creating an RSS feed using MySQLi? Converting from ASP/MSSQL.

I've recently converted a site from Classic ASP to PHP and one of the features they had was an RSS feed from the news table in their MSSQL database table. I attach the script we were previously using.

We're now using a MySQL table and MySQLi on the site. How easy is it to create a PHP/MySQLi version of this?

Thank you.
NJ

Sign in to reply to this post

Ray BorduinWebAssist

It looks like a recordset loop creating tags... you should be able to do that with the recordset and repeated region server behaviors.

It looks like it also strips the html out of the content, which php can do with strip_tags() and encodes special characters after that which you could use htmlentities() for.

Then you can use the php date() function to get the pieces of the date that it uses in the xml.

We could do this in a premier support ticket if you need more help.

Sign in to reply to this post
Did this help? Tips are appreciated...

Nathon Jones Web Design

Please see the attached which works lovely in Firefox but looks like a nightmare in IE. Why is that?

Sign in to reply to this post

Ray BorduinWebAssist

Please post a url where I can view it.

Sign in to reply to this post
Did this help? Tips are appreciated...

Nathon Jones Web Design

It's Microsoft Edge that's not reading it properly:
http://www.gallowayfisheriestrust.org/rss-fisheries-trust-news.php

Sorry, forgot to post a link.
NJ

Sign in to reply to this post

Ray BorduinWebAssist

Microsoft Edge doesn't have an RSS feed reading feature. It isn't a problem with your page.

Sign in to reply to this post
Did this help? Tips are appreciated...

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...