Showing posts with label Tips and How Tos. Show all posts
Showing posts with label Tips and How Tos. Show all posts

WebmasterHub.net - RSS Feeds


Subscribe to RSS Feeds provided by WebmasterHub.net Stay up to date with WebmasterHub.net news. Subscribe to the Resource Directory category feeds to be notified of new additions to the resource directory for webmasters, developers and designers.

View the RSS Feeds page on WebmasterHub.net

WebmasterHub.net

RSS WebmasterHub.net Blog
Programming Tools
Programming & Scripting
RSS Developer Text Editors RSS VB
RSS Code Generators RSS ASP
RSS Source Code / Programming Libraries RSS Php
RSS XML
SharePoint Website Promotion (SEO / SEM)
RSS InfoPath Forms RSS SEO Information and Tips
RSS SharePoint Tips and How To's RSS Sitemap / Meta Tag Generators
RSS SharePoint Web Parts RSS Blog / RSS Submission/Ping Services
RSS SharePoint Workflow RSS Keyword Research / Analysis Tools
RSS SharePoint Tutorials RSS Search Engine Ranking Checkers
RSS SharePoint Administration Tools RSS Search Engine Simulators
RSS Web Page Analysers
Website Templates
More to come...
RSS Flash Website Templates

How to Generate an RSS Feed using Php



Update 14th Aug 2011:
 The information in this post is for the RSS2Writer Class, which has since been updated to Php FeedWriter.  Php FeedWriter supports output in multiple formats, including Atom 1.0, RSS 2.0 and RSS 1.0 (RDF). Online documentation is available to help with using the class library to generate RSS or Atom Feeds.

Generate RSS Feed using Php FeedWriter

The latest version of Php FeedWriter can be downloaded for free from the Php FeedWriter Website
http://phpfeedwriter.webmasterhub.net/


The following describes how to generate an RSS 2.0 compatible feed from a Php Script. the process utilises the free Php RSS2Writer Class written by Daniel Soutter. Examples are provided to create an RSS feed that includes optional information such as copyright, author, and channel/item categories. The Class allows the RSS Feed XML to be rendered by a browser or RSS Reader, as well as the option to output the RSS feed to a file if required.

For more detailed information, usage instructions and a free download of the RSS2Writer Package containing the class file and sample controller, see Php RSS2Writer (v2.0) - Generate RSS 2.0 Feed - Usage Instructions & Download.

Generate an RSS Feed using the Php RSS2Writer Class:


1. Include and initiate the RSS2Writer Class

require_once("RSS2Writer.php");
$rss2_writer = new RSS2Writer('Feed Title', 'Feed Description', 'feed url');

2. Add additional information to the Feed Channel

$rss2_writer->addElement('copyright', '(c) Daniel Soutter 2010');

3. Add Items to the Feed

$rss2_writer->addItem('item title', 'item content/description', 'item url');

3.1 Add Additional information to an item (most recent)

$rss2_writer->addCategory("Free Php Script");
$rss2_writer->addCategory("RSS 2.0 Feed Generator");

4. Output the RSS 2.0 compatible Feed XML

echo $rss2_writer->getXML();


When the php script is accessed using a web browser, the result will be an RSS 2.0 compatible feed, which can the be subscribed to, or submitted to search engines as a site map.

Note: To add additional information to the feed channel, you need to call the addElement / addCategory functions before adding items to the feed. To add additional information to a specific item in the RSS feed, call the functions after adding the items to the feed. The additional elements will be added to the item most recently added to the feed.





-----------------------------------------------
Php Generate RSS Feed
Free Download Php RSS Writer
Generate RSS Feed using Php

Webmaster, Web Development & SharePoint Resources This Month


Php Date Time - 7 Methods to Calculate the Difference between 2 dates (January 6, 2010)
Calculate the difference between two Dates (and time) using Php. The following page provides a range of different metho...
Categories: Php,


SharePoint Administration Forum, SharePoint Development Forum, MOSS 2007 / WSS (January 3, 2010)
SharePoint Development & Administration Forums to help learn how to administer, develop and troubleshoot SharePoint envi...
Categories: Web Parts , Tips and How Tos, SharePoint Administration Tools, Workflow,


Hire Open Source Professional Hire Joomal, Mangeto, Drupal, Wordpress programmers and developers, E-Commerce Solutions P (January 1, 2010)
Addon Solutions is an offshore website design and development company located at India providing website design and deve...
Categories: Php Applications, Blog Applications, Chat Applications, Forum / Discussion Applications, Shopping Cart Software / Development, Shopping Carts,


Internet Marketing Consultant, Internet Marketing Company India, Internet Marketing, Internet Marketing India, Internet (January 1, 2010)
Addon Solutions is an Internet Marketing Company from India provides Internet Marketing Services, Search Engine Marketi...
Categories: SEO Information and Tips, Internet Marketing / SEO Consultants and Serv,


Programming In PHP MySql, ASP.Net MSSQL/MySq, Coldfusion, AJAX, Ruby On Rails, Joomla, Drupal, WordPress, Java, Flash, M (January 1, 2010)
Addon Solutions has expert programmers / developers team who can give you quality programming for your website designing...
Categories: ASP, Java, JavaScript, Php, Php Applications,

E-Commerce Shopping Cart Development, Ecommerce Shopping Cart Development, Custom Shopping Cart Development India, Open Source Shopping Cart Development (January 1, 2010)
Addon Solutions is offers E-commerce Shopping Cart Solutions Provider, Ecommerce Shopping Cart Development From India Th...
Categories: Online Payment Methods, Shopping Cart Software / Development, Shopping Carts,

Custom Publishing Page Tutorial using SharePoint Designer
(December 30, 2009)
This tutorial demonstrates how to create a custom Publishing Page using SharePoint Designer. The process involves creati...
Categories: SharePoint Tutorials, Tips and How Tos,

SharePoint Tips & How Tos


Categories > SharePoint > Tips and How Tos

SharePoint XSL String Replacement Function
Using a custom XSL template with a Data View web part, a Lookup column in SharePoint which allows multiple selections can be used to replace ; with a new line and bullet. The following article describes how to use a custom XSL template in a Data View Web Part to create the equivalent to an XSL string replace function which then splits and formats the string of multiple selections, delimited with a semicolon (;).


(Looping) Timer Workflows Using SharePoint
How to configure a Workflow in SharePoint to monitor the date/time field of a list item and respond at a specific time. The article also explains how to configure a Looping Timer Workflow using SharePoint Designer which sends an email daily until a specific date, or condition is met.


SPD Workflow Issue Solved - List item not found error when finding item using metadata value
Use a SharePoint Designer workflow to test if any item in a list has a specific value for a field without the workflow stopping due to a List item not found error.


InfoPath Performance with SharePoint Data Connections
Tips for improving and InfoPath form performance when using data connections to SharePoint lists or libraries. Details include using custom views to limit the number of results retrieved by the data connection. Loading times for forms can be impacted significantly when a large number of data connections are being used that all connect to SharePoint lists and libraries.


InfoPath - CAML Date Time format in when submitting to a SharePoint list via a Web Service
Details, instructions and a function to convert date/time field values into ISO 8601 format when updating date/time fields in a SharePoint list using a CAML query from an InfoPath form.


InfoPath: Setup Namespaces for a Secondary Data Source
Article by Matt Faus: How to obtain and set up the namespace for a secondary data connection in an InfoPath form for access using code.


Allow Offline Use of a SharePoint List by Caching Locally
This article by Matt Faus demonstrates how to store the data from a secondary data connection in an InfoPath from, to allow offline access to the data. The example populates a dropdown list on the InfoPath form template with data from a SharePoint list.


Add SharePoint List Items with InfoPath form usng a CAML XML template
Article by Matt Faus: Add a SharePoint list item using a sites lists.asmx web service. A Collaborative Application Markup Language (CAML) query is created containing the information which will be mapped to metadata fields in the SharePoint list.


Integrate InfoPath Form with SharePoint Workflow

How to integrate InfoPath forms with workflow in SharePoint to give greater control over the functionality and user interface.


Split List View web part labels (javascript)
Split form item / column titles when creating, editing or viewing a SharePoint list item or survey. If question/column names are too big to fit in one line, this JavaScript function can be used to split the label/question, by adding a break tag.


MOSS 2007 - Create List Item using aspx query string
Create a SharePoint list item by passing meta data values to a .aspx page via a query string. The values from the query string are then taken and stored in a SharePoint list. The SharePoint site and list is also set using the query string.


SharePoint Designer (2007) - Run reports for all sites programmatically
Generate a list of all sites from a site collection then use the list to process reports on every site using SharePoint Designer 2007. A macro is used in SharePoint Designer to process a report for each site.


SharePoint Data View Conditional Formatting using SharePoint Designer
A tutorial for creating Data Views for a list in SharePoint that are formatted based on each item's meta data. This can be used to create views that visually represent task priority or due dates by setting font or table row background colors. SharePoint Designer conditional formatting is used to format items and backgrounds colors based on the length of time until due or the priority.

Categories > SharePoint > Tips and How Tos
 
|  WebmasterHub.net Blog. Blogger Template By Lawnydesignz Powered by Blogger