Yeah, that's what i thought also, but that is not it. I am generating an xml type content in my feed, as are every other RSS feed that I saw on the net. And they seem to have html elements inside the description node. I am thinking that I might be missing some version number or something like that. Still banging my head strong ... thanks for suggestions. laimis
Laimis
Posts
-
generating RSS feed -
generating RSS feedHey guys, I have a ASP.NET page that generates RSS feed by pulling info from the db. All is fine except when I try to validate it agains rss validators, it complains about
being unknown element. My RSS structure is correct, I have all of the required elements, and it complains only about html inside node of an item. But I have seen other feeds contain html inside, and they validate with no problems. My sample feed looks like: I got cought by surprise when I realized that .NET 1.1 or earlier doesn`t have a native support for secure socket programming. Why did I need them? For secure authentication using MS Passport servers.
bla bla bla ... If I place
with no /, it doesn't like it as this is not well formed XML. Has anyone had any issues like this? Any experience or your own RSS generators? Any suggestions would be appreciated. Thanks, laimis -
OleDbCommands and OleDbDataAdapterI'm not sure if this is the problem that you are having, but have you set up your UpdateCommand property of OleDbDataAdapter or DataSet instance that you are working with? I think you have to do that in order for Update to work properly.
-
What do I need to build ASP applications?what you need to know. Well first, ASP application are mostly built using JavaScript or VBScript for coding the server side. You can also use Perl if you get Perl from Active State. So if you know VBScript, you are all set. If you don't, it's not that hard, you will pick it up. You need a server that will serve you ASP pages for you to test, and of course for people to view. IIS and Personal Web Manager are the ones. (don't pay attention to Personal Web Man...). IIS is the one. Apache provides a module that can serve ASP too, but I have that on my Linux machine and not sure if they have that for windows, although I'm sure they do. Apart from these components, that's it. Just start building your *.asp pages and serve it up. Need more info, tell us.
-
Question about UTF8 EncodingUse Encoding class in System.Text namespace. Basically to convert, you first set up encoding. Let's say you have a simple string that you named simpleS. Here is the code that would convert: Encoding ascii = Encoding.ASCII; Encoding utf8 = Encoding.UTF8; byte[] simpleBytes = ascii.GetBytes(simpleS); byte[] newbytes = Encoding.Encode(ascii, utf8, simpleBytes); that's it. Key here is static Encode method provided by Encoding class. Once you have the new byte array, you can convert it to char array of utf8 encoded chars. I hope this is of some help. MSDN documentation also has a very similar example and more stuff on this encoding. I know I used it for the project I worked some time ago.
-
Channel's??TcpChannel and HttpChannel are used for .NET framework's Remoting part. Remoting can be said to be one way of building client server apps, yes. Basically it's a mechanism for client and server to communicate. And they communicate through the channels (tcp or http) with messages passing through various sinks that can be used to encrypt/decrypt or processed in some other way.
-
Pure MTA Windows.Forms?You are not alone man. I haven't found an alternative either.
-
Help Creation softwareNDoc is great for generating documentation that can also serve as help. Try it out, you can make your documentation look exactly the same as how MSDN .NET documentation looks. To make this all work, you have to use so called XML comments in your code and then you compile your code, /doc switch must be used to generate xml file that NDoc will use. somefilename.xml is just a file that you choose. I have a short article about this at: http://vbxzone.tripod.com/dotnet/dotnet06032.html check it out.
-
32byte Char[] Unicode array conversionHow about this: string mystring = new string(Name); just create a new instance of a string using constructor that accepts array as an argument.
-
Client DetailsIf you want to enumerate your network resources, there are some cool API calls you can make. The example is given in MSDN documentation. You could enumerate from your program all the printers, machines, etc. on the network.