Hello guys, I have a custom website script, and now I need to create an RSS for him. Can anyone know how to do that? Or someone here that can help me creating one? Please PM and tell me how much will cost me. Thank you
Which language you use for develop website ? PHP or ASP/ASP.NET ? Depend on language have other ways to make Rss.
What is your site? What are you wanting including in the RSS feed? Who realistically are you expecting to be consuming your feed?
Do you need a script to automate creating an RSS feed? If its in a database you could use SQL2RSS http://www.feedforall.com/sql2rss.htm to create the feed.
RSS stands for Really Simple Syndication or it's sometimes referred to as Rich Site Summary. It's an XML-based content format for distributing news, headlines, content, etc. Most popular sites news sites and blogs provide RSS feeds for you to subscribe to. All you need is a feed reader to view its contents. Feed readers come in all shapes and sizes these days. The Firefox browser has one built right into the Bookmarks feature. I use Google Reader. You can also create feeds for your own website so your audience can subscribe to them. If you update your content frequently and promote the feed effectively, it can help drive more steady traffic to your website.
Hello........... RSS feeds are created in XML. Feeds can be created using tags that are enclosed in brackets <> very similar to HTML.
On php you can use Zend_Feed_Writer class from ZendFramework /** * Create the parent feed */ $feed = new Zend_Feed_Writer_Feed; $feed->setTitle('Paddy\'s Blog'); $feed->setLink('http://www.example.com'); $feed->setFeedLink('http://www.example.com/atom', 'atom'); $feed->addAuthor(array( 'name' => 'Paddy', 'email' => 'paddy@example.com', 'uri' => 'http://www.example.com', )); $feed->setDateModified(time()); $feed->addHub('http://pubsubhubbub.appspot.com/'); /** * Add one or more entries. Note that entries must * be manually added once created. */ $entry = $feed->createEntry(); $entry->setTitle('All Your Base Are Belong To Us'); $entry->setLink('http://www.example.com/all-your-base-are-belong-to-us'); $entry->addAuthor(array( 'name' => 'Paddy', 'email' => 'paddy@example.com', 'uri' => 'http://www.example.com', )); $entry->setDateModified(time()); $entry->setDateCreated(time()); $entry->setDescription('Exposing the difficultly of porting games to English.'); $entry->setContent( 'I am not writing the article. The example is long enough as is ;).' ); $feed->addEntry($entry); /** * Render the resulting feed to Atom 1.0 and assign to $out. * You can substitute "atom" with "rss" to generate an RSS 2.0 feed. */ $out = $feed->export('atom'); PHP:
In ASP.NET you can use System.ServiceModel.Syndication namespace // Create an XmlWriter to write the feed into it using (var writer = XmlWriter.Create(Response.OutputStream)) { // Set the feed properties var feed = new SyndicationFeed(" feed provider", " feed provider with full description", new Uri("https://example.com/rss.aspx")); // Add authors feed.Authors.Add(new SyndicationPerson("mail@example.com", "FirstName LastName", "http://example.com")); // Add categories feed.Categories.Add(new SyndicationCategory("Category1")); // Set copyright feed.Copyright = new TextSyndicationContent("© Copyright 2010 example.com"); // Set generator feed.Generator = "RSS Generator"; // Set language feed.Language = "ru-RU"; // Add post items var items = new List<SyndicationItem>(); var title = string.Format("Title"); var item = new SyndicationItem { Id = 1, Title = SyndicationContent.CreatePlaintextContent(title), Content = SyndicationContent.CreateXhtmlContent("content"), PublishDate = DateTime.Now }; item.Categories.Add(new SyndicationCategory("category")); items.Add(item); } feed.Items = items; // Write the feed to output var rssFormatter = new Rss20FeedFormatter(feed); rssFormatter.WriteTo(writer); writer.Flush(); } PHP: