473,406 Members | 2,698 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,406 software developers and data experts.

Trying to build an RSS Reader

I'm trying to build an RSS reader in VB.net.
I have created a class for RssItems, such as the following,
PUBLIC CLASS RssItem
Public Author as String
Public PubDate as Date
Public Description as Description
Public GUID as String
Public IsPermaLink as Boolean
END CLASS

The above is purely abstract.
I need to be able to serialize the above object as follows,

<RssItem>
<Author>....</Author>
<PubDate>....</PubDate>
<Description>....</Description>
<GUID IsPermaLink="false">....</GUID>
</RssItem>

I'm able to serialize the object into an xml string similar to the above,
but without the IsPermalink as an attribute of GUID.
Basically i need to be able to configure the IsPermaLink to be an attribute
of the GUID element.
Dec 13 '05 #1
2 2405
Hi,

Check out these videos

http://download.microsoft.com/downlo...E2462/13VB.wmv

http://download.microsoft.com/downlo...E2462/14VB.wmv

Ken
----------------------------
"Roger" <ro***@fact.ind.sg> wrote in message
news:uK**************@TK2MSFTNGP10.phx.gbl...
I'm trying to build an RSS reader in VB.net.
I have created a class for RssItems, such as the following,
PUBLIC CLASS RssItem
Public Author as String
Public PubDate as Date
Public Description as Description
Public GUID as String
Public IsPermaLink as Boolean
END CLASS

The above is purely abstract.
I need to be able to serialize the above object as follows,

<RssItem>
<Author>....</Author>
<PubDate>....</PubDate>
<Description>....</Description>
<GUID IsPermaLink="false">....</GUID>
</RssItem>

I'm able to serialize the object into an xml string similar to the above,
but without the IsPermalink as an attribute of GUID.
Basically i need to be able to configure the IsPermaLink to be an
attribute of the GUID element.

Dec 13 '05 #2
Hi,

Sorry forgot the last 2.

http://download.microsoft.com/downlo...E2462/15VB.wmv

http://download.microsoft.com/downlo...e2462/16VB.wmv

Ken
----------------------
"Ken Tucker [MVP]" <vb***@bellsouth.net> wrote in message
news:eT**************@TK2MSFTNGP10.phx.gbl...
Hi,

Check out these videos

http://download.microsoft.com/downlo...E2462/13VB.wmv

http://download.microsoft.com/downlo...E2462/14VB.wmv

Ken
----------------------------
"Roger" <ro***@fact.ind.sg> wrote in message
news:uK**************@TK2MSFTNGP10.phx.gbl...
I'm trying to build an RSS reader in VB.net.
I have created a class for RssItems, such as the following,
PUBLIC CLASS RssItem
Public Author as String
Public PubDate as Date
Public Description as Description
Public GUID as String
Public IsPermaLink as Boolean
END CLASS

The above is purely abstract.
I need to be able to serialize the above object as follows,

<RssItem>
<Author>....</Author>
<PubDate>....</PubDate>
<Description>....</Description>
<GUID IsPermaLink="false">....</GUID>
</RssItem>

I'm able to serialize the object into an xml string similar to the above,
but without the IsPermalink as an attribute of GUID.
Basically i need to be able to configure the IsPermaLink to be an
attribute of the GUID element.


Dec 13 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Jens Mueller | last post by:
Hi there, this is a Java-XML Question, so I am not sure whether this is the right place, haven't found anything better .... I try to convert a Java object to XML via SAX and let the FOP...
0
by: martin | last post by:
Latest .NET framework has problem loading XML docs, it says invalid character when there is none, works fine on last build. Whats changed? How do you fix or skip error in xml file as this is a...
0
by: martin | last post by:
latest .NET framework has problem loading XML docs, it says invalid character when there is none, works fine on last build. Whats changed? How do you fix or skip error in xml file as this is a...
4
by: Patrick | last post by:
I'm new to the concept of RSS. I'd like to learn about it, and use it and most of all write MY OWN .NET app, to read RSS (RSS Reader). Please can someone guide me on this.
7
by: lmnorms1 | last post by:
Hello, I am trying to update an access database record date field that matches a specific date. The code is not working. Anyone have any advice? Here is the code: Dim gConnString As String =...
5
by: mmatchyn | last post by:
I have been trying to create a class similar to SqlClient but one that prints sql statements instead of running them on the database. This way when I want to go into test mode I comment out the...
0
by: =?Utf-8?B?cm9kY2hhcg==?= | last post by:
hey all, using System; using System.Data; using System.Data.SqlClient; using System.Text; class Program { static void Main()
1
by: cody | last post by:
Iam trying to read in sxw files and generate a preview for it. The problem now is that the file "content.xml" seem to contain a DTD. I do not want to process this DTD because this is a separate...
3
by: Robert Dunlop | last post by:
I am using Microsoft Visual Studio 2005 for development of an ASP.NET site, and I have a problem that greatly effects my workflow at times. It seems that after I upload new files anywhere within...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.