Click here to Skip to main content
15,917,968 members
Home / Discussions / C#
   

C#

 
AnswerRe: Change a forums start up position Pin
Mycroft Holmes24-Jun-09 19:16
professionalMycroft Holmes24-Jun-09 19:16 
QuestionDataGridViews and ComboBoxes Pin
Illegal Operation24-Jun-09 14:02
Illegal Operation24-Jun-09 14:02 
AnswerRe: DataGridViews and ComboBoxes Pin
Illegal Operation24-Jun-09 15:43
Illegal Operation24-Jun-09 15:43 
GeneralRe: DataGridViews and ComboBoxes Pin
jdhforever24-Jun-09 16:17
jdhforever24-Jun-09 16:17 
GeneralRe: DataGridViews and ComboBoxes Pin
Illegal Operation24-Jun-09 16:35
Illegal Operation24-Jun-09 16:35 
QuestionGetting XHTML tags by tag name Pin
Jordanwb24-Jun-09 12:00
Jordanwb24-Jun-09 12:00 
AnswerRe: Getting XHTML tags by tag name Pin
harold aptroot24-Jun-09 12:59
harold aptroot24-Jun-09 12:59 
GeneralRe: Getting XHTML tags by tag name [modified] Pin
Jordanwb25-Jun-09 7:12
Jordanwb25-Jun-09 7:12 
Okay I'll give that a try.

I've found out that the XHTML isn't completely valid. Some of the tags aren't closed properly. Here's in excerpt:

<META HTTP-EQUIV="content-type" CONTENT="text/html; charset=UTF-8">
<meta name="robots" content="noarchive"/>
<meta name="description" content="/a/ is 4chan's imageboard dedicated to the discussion of Japanese anime and manga."/>
<meta name="keywords" content="imageboard,japan,anime,manga"/><link rel="alternate stylesheet" type="text/css" href="http://zip.4chan.org/yotsuba.9.css" title="Yotsuba"><link rel="stylesheet" type="text/css" href="http://zip.4chan.org/yotsublue.9.css" title="Yotsuba B"><link rel="alternate stylesheet" type="text/css" href="http://zip.4chan.org/futaba.9.css" title="Futaba"><link rel="alternate stylesheet" type="text/css" href="http://zip.4chan.org/burichan.9.css" title="Burichan"><link rel="alternate" title="RSS feed" href="/a/index.rss" type="application/rss+xml" /><title>/a/ - Animu &amp; Mango</title>


While some of the tags are somewhat formed properly, some aren't. The first one is easy:

result.Replace ("\"/>", "\" />");


I think I could use regex for the tags missing a closing "/" but I don't know how to do that.

[Edit]

Okay the result.Replace bit isn't working.

modified on Thursday, June 25, 2009 1:18 PM

GeneralRe: Getting XHTML tags by tag name Pin
harold aptroot25-Jun-09 7:26
harold aptroot25-Jun-09 7:26 
GeneralRe: Getting XHTML tags by tag name Pin
Jordanwb25-Jun-09 7:29
Jordanwb25-Jun-09 7:29 
GeneralRe: Getting XHTML tags by tag name Pin
harold aptroot25-Jun-09 7:30
harold aptroot25-Jun-09 7:30 
GeneralRe: Getting XHTML tags by tag name Pin
Jordanwb25-Jun-09 7:35
Jordanwb25-Jun-09 7:35 
Questionmenustirp items disappear from designer, but still in properties list Pin
ThorTheBraveGod24-Jun-09 11:26
ThorTheBraveGod24-Jun-09 11:26 
AnswerRe: menustirp items disappear from designer, but still in properties list Pin
Cracked-Down24-Jun-09 20:24
Cracked-Down24-Jun-09 20:24 
GeneralRe: menustirp items disappear from designer, but still in properties list Pin
ThorTheBraveGod25-Jun-09 3:19
ThorTheBraveGod25-Jun-09 3:19 
AnswerRe: menustirp items disappear from designer, but still in properties list Pin
ThorTheBraveGod25-Jun-09 10:21
ThorTheBraveGod25-Jun-09 10:21 
QuestionUnable to read data from the transport connection: An existing connection was forcibly closed by the remote host Pin
milenalukic24-Jun-09 11:10
milenalukic24-Jun-09 11:10 
AnswerRe: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host Pin
Colin Angus Mackay24-Jun-09 13:20
Colin Angus Mackay24-Jun-09 13:20 
GeneralRe: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host Pin
milenalukic24-Jun-09 22:08
milenalukic24-Jun-09 22:08 
QuestionEncrypted Connection Pin
ziwez024-Jun-09 9:23
ziwez024-Jun-09 9:23 
AnswerRe: Encrypted Connection Pin
harold aptroot24-Jun-09 9:47
harold aptroot24-Jun-09 9:47 
GeneralRe: Encrypted Connection Pin
EliottA25-Jun-09 2:53
EliottA25-Jun-09 2:53 
GeneralRe: Encrypted Connection Pin
harold aptroot25-Jun-09 4:07
harold aptroot25-Jun-09 4:07 
GeneralRe: Encrypted Connection Pin
harold aptroot25-Jun-09 4:35
harold aptroot25-Jun-09 4:35 
AnswerRe: Encrypted Connection Pin
Mycroft Holmes24-Jun-09 19:24
professionalMycroft Holmes24-Jun-09 19:24 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.