Write A Page Where User's Can Write A Blog Post And Publish It To The Blog?
Apr 2, 2010
I want to write a page where user's can write a blog post and publish it to the blog. I've downloaded blog engine .NET and looked at the code and I like the way they do it, but it's completely an overkill of what I need. What I need is only a title, author, date, and the blog post it self. I don't even want users to post comments or anything like that. My approach is to save all those blog post information into an xml and then when a page loads it loops around those xml files to show the blog post.
View 1 Replies
Similar Messages:
Mar 25, 2010
I am working on a project. I need to allow user to comment on pictures - like a blog. For example, if you like a picture, you post your comment on the pictures and say why you like. When the user type a comment in the text box, how do I put it under the pictures? Also, if two people were to post comments, how do I know where the first comment ends and where to start posting the second comments? Also, how do I know when the page is full and start a new page?
View 6 Replies
Mar 15, 2011
I have a blog page that has 20 posts each page.I'm using Listview for displaying posts. If I want to display comments for each posts, what would be the best way? My database stracture is as follow
-blog (table)
-blogID, postContents (fields)
-blogComments (table)
-blogcommentID, blogID, comments (fields)
Since I have many comments for each posts, I don't think I can join table.Only thing I can think of is that I can use DataReader and loop through the results in Listview Databound events.What would be the best way to achieve this?
View 4 Replies
May 7, 2015
how can i make a simple user comments form using xml. comments entered by the user should be saved in xml.
format of the form:
name: email:comments:
View 1 Replies
Sep 25, 2010
I'm an ASP.NET newbie, but not so new at programming in general.
I'm creating a commercial website, and I want to allow an admin to add new articles (an article consists of text, images and various properties such as category).
I am trying to decide the optimal Modus Operandi. This site is commercial, so SEO is a major consideration. This means that I want each url to be "unique". That is, if someone navigates to an article about raccoons, he should be redirected to [URL]. This means - I can't have one page that loads the appropriate article dynamically a-la AJAX (gotta use deep-linking)
So how exactly do I do this? suppose the admin entered his text, uploaded the images and set the article properties. I create a new subfolder, save the images to the server (I understand that saving images to a DB is a big no-no), their addresses in a DB, and the content itself to the DB. But now what?
How do I go about creating the actual page?
Is there a function for creating a new aspx file? then what about its corresponding cs file? Or is it unwise to use aspx? Maybe plain html? but then how does it work with my site's master page? Or maybe just create another copy of a general aspx file which is populated with an article according to a parameter?
View 1 Replies
May 14, 2010
I have a pretty slick website and I wanted to add a simple blog system to it, without too much work. I've looked into a few blog systems, but none of them seem to be simple almost control like systems.
View 2 Replies
Oct 8, 2010
i try to publish my application , below the error i have, iam using
vista home edition
The current identity (NT AUTHORITYNETWORK SERVICE) does not have write access to 'C:WINDOWSMicrosoft.NETFrameworkv2.0.50727Tem porary ASP.NET Files'.
View 4 Replies
Oct 1, 2010
Suppose we want to select the data from the database then we write the query for that. Example:
SqlConnection con=new SqlConnection(Connetion name) string selectPkId = @"SELECT PK_ID FROM TABLE" SqlCommand cmd=new SqlCommand(selectPkId ,con);
So,my question is that why we basically use @ before the sql query.If I don't use @ before that then it again work fine (does not give any error), then what is need of using "@"?
View 1 Replies
Mar 29, 2011
I am reading in a file into a string. Then I am writing this string to a stream. I know this code works fine.
The only problem that I have is with the line that write the data in chunks where the parameters is not supported for the Write method.
The line that has the problem is this line. What do I need to change here?
OutPut.Write(buffer, 0, Math.Min(to_write, WRITE_CHUNK));
[Code]....
View 2 Replies
Nov 23, 2010
I have created a blog application with ASP.NET MVC and MSSQL. I must say, i really enjoyed the process of creating an application with ASP.NET MVC. Clean URLS(with URL routing), No view States and so on.
BUT i was wondering how would this would have been done if i choose web-form style coding? will the aspx would be created in the fly as i create a article.(take this url for ex: [URL]) though the URL is not clean but still makes sense. if yes then what about its corresponding cs file? if no how is the URL so clean?
View 4 Replies
Feb 1, 2010
Is there a way to create a blog using asp.net 3.5 in Microsoft Visual Web developer 2008 or 2010? Also, how do I make commenting, replying and posting only available to the user of my website?
View 9 Replies
Jan 12, 2010
I want to get content of my blog in my web site how can i do this.I have used dataset and its method XMlread but it doesn't word my blog's url ishttp://hari-ghan.blogspot.com
View 3 Replies
Aug 13, 2010
I'm looking for a blogging site to host my ASP.Net/C# (and possibly other web related programming) technical blog - where should I create such blog?
BTW, it's a shame that SO does not offer blogging services.
Note: I would create it on [URL], but it requires to be a highly active member on their site.
View 3 Replies
Apr 20, 2010
Guys I want to make a blog like http://www.hanselman.com/blog
is there is any solution like wordpress in dot net ? or we have to write our own code in it
what hanselman is using
View 1 Replies
Jan 27, 2010
Is it possible to integrate a Wordpress blog with ASP.NET If yes, then how?
View 2 Replies
Mar 20, 2010
What's the best ASP.NET MVC based blog engine out there which is ready to deploy? I am guessing there are no MVC blog engines which are comparable with WebForms based blog engines like dasBlog, BlogEngine and subText? I think Oxite is a dead end and Orchid is more like a CMS.Looking for an engine which can do these:
RSS feeds support
anti comment spam functionality like support for Akismet
comment post approval support
Some kind of theming if possible
View 3 Replies
Feb 13, 2011
I AM getting an error while opening blogengine.net 2.0 in visual studio 2010 designer view.It is showing the master page error.But while executing the page it is loading correctly.
View 2 Replies
Mar 1, 2010
I have a website that I would like to integrate a blog into. I have seen lots of options available and not sure which one to jump into. What I want to do is have the most recent post on my home page and have users navigate to www.mysite.com/blog to see all posts. I would also like to have a sidebar on the homepage with links to 10 most recent posts.Where should I start? Should I use wordpress or an asp.net engine? Should I use rss feeds to get information to homepage?
View 4 Replies
Mar 26, 2011
I want to have a blog feature in my website.Website is built using .net 3.5 MVC with fluent Nhibernate.Don't want anything fancy, just something which lets me post content and can provide archives and grouping of content
View 2 Replies
Nov 26, 2010
In my blog application, I am storing the tags of a blog post in a column like this;
tag 1; tag 2; tag 3;
I will have hundereds of blog posts and I would like to display all tags in a page and I would like to open a page like ~/tags/tag-1
and under this page I would like to list the blog posts which has the value of the tag. in this case it is tag-1
what do you think is the best way here to handle this kind of thing?
View 3 Replies
May 5, 2010
I have a website and i have a Google Blog . i want my website to display the activities of my google blog in my website. What i want exactly is to embed my Blog into my ASP.NET website. This Should include the Comments and their Updates.
View 3 Replies
Jul 9, 2010
I need to create a simple blog feature for my website. I have created a form that writes to an XML File, i now need to be able to display this file in a blog style, and possible add comments.
View 5 Replies
Apr 7, 2010
I want to add the creating Blog in my Web Application but i dont have where i can get start Any Article or hint will be apperciated
what is the Blog and why we need to create it ?
View 7 Replies
Jul 22, 2010
I have a BlogPost table by which i post blog on my website, this is the structure of BlogPost Table:
BlogPostID int Unchecked
LanguageID int Unchecked
BlogPostTitle nvarchar(200) Unchecked
BlogPostBody nvarchar(MAX) Unchecked
BlogPostAllowComments bit Unchecked
CreatedByID int Unchecked
CreatedOn datetime Unchecked
[code]...
View 13 Replies
Dec 12, 2010
I want to change the way my blogs are displayed on my website. I currently use a seperate table in SQL to hold them and do a loop and replace.
All I really need to do is have a code that can be translated into real HTML in the blog code. I need to know the image name and the css class.
I was thinking is it possible to have somthing like this in a blog stored in the DB
<img L 1234.jpg> and use regex to match it and change it ton<img src="1234.jpg class="imgleft">
I know it looks like well why not just use the long code and not use regex, but I have a method that gets in the image path from the image name with padding. So in this case the image path would be 000/000/001/234/1234.jpg
I would have more then one occurance in the original string so would need to either somehow replace them all at once or use the regex to loop through untle they have all be matched
is something like this possible or do I need a different approach
View 3 Replies