blogs

Blog Functionality Within N2 CMS

I've been using N2 cms for a couple of projects using some parts from their templates project but haven't come across a solid blogging component. Basically looking for something pretty simple that does tag, categories and multiple authors. Has anyone built or used something I can plug in to N2? If not how big a task do you think itd be...

Adding my comments to the index view...Ruby on Rails

Ok...I am new to rails so this may be a stupid question but need help. I just watched and implemented Ryan Bates screencaset about setting up a blog. You can see it here http://media.rubyonrails.org/video/rails%5Fblog%5F2.mov. Here is the skinny: Two tables: Posts and Comments. Everything works great including the addition of comments v...

Keeping track of info

My memory is not the best, so I like to keep a blog using WordPress which I keep track of all the programming and IT related things I learn. This way, when I need it again I can just search and go back and look at it. Using WordPress has been good, but its editing really sucks and I would like something with more of a plain text syst...

Count records for Blog in Ruby on Rails - Easy Question

I am new to rails so sorry for the simple question. I have followed several tutorials and set up a blog with comments (even using a little AJAX - Ha proud of myself). I have done some customizing and right now I am trying to display in the index.html.erb a comment count that is a clickable link that takes to you the show.html.erb page. H...

Voting Functionality Ruby on Rails - Easy Question

I want to add a "like" functionality to a blog I am creating in Ruby on Rails to let people "thumbs up" a post. Then I would like to be able to display the most liked posts in the side bar. I am new to rails so rely heavily on tutorials and stack overflow. Any good resources or what is this even called. I assumed "voting" for this questi...

I'm overhauling my blog and … is HTML5 OK?

I'm overhauling my blog (http://gilesvangruisen.com/) and I'm going to be pushing new technologies as much as possible. I'm a web designer/developer and the browser percentage is as follows: 42% Firefox 39% Safari 7% Chrome 7% IE Is it OK to use the HTML5 doctype for my "rethunk" site? I thank you. -Giles :) ...

Ajax Question - Ruby on Rails - Error: Couldn't Find Post without an ID

Ok, I am new to rails so I hope I explain this well. I seem to have a problem with a form collecting the proper information. Work in one spot and not another. Here is the situation. I have created a blog with three tables, posts, comments, and votes. I have comments working correctly and votes working partially. Here is what I mean. ...

Redirecting Content from Blog to Website Drawbacks

What are the drawbacks of using the content/data model of a blog like Blogger or Wordpress to store all of your information and then just having it redirect you to your "real" website? I'm wondering if it's a bad idea to setup a blog and just read/write from it but render it in a completely different project, so I don't have to recreate...

Ruby on Rails - AJAX - div problem...

I am new to rails so go easy on me. I have built a blog and I am attempting to add a "vote up" type feature to the /posts/index.html.erb page. Kind of like Facebooks's like feature. I have can successfully get the vote form to work. I have successfully been able to get the posts rendererd out through the <% @posts.each do |post| %> call....

Adding pagination to index.html.erb in Ruby on Rails - Easy Question...

I am new to rails so go easy. I have built my first blog and would like to set it up such that in the <% post.each do |post| %> render of the posts, I would like it to work such that it only displays 10 posts and then has a link to view the next 10. I am hoping this is an easy question. Let me know if you would like me to post any code...

Ruby on Rails - Restricting click by IP...

I am new to rails so go easy. I have created a blog with the ability to "vote" on a post by using a feature much like Facebook's "like". I am not using any authentication but would like to restrict voting on a particular post by IP. That is, once someone votes for a post, they cannot vote again (unless they reset their router of course)....

Handling large ActiveRecord object set as binary data

I have an issue with manipulating large number of record objects of type ActiveRecord model(Records are extracted from a complex operation but from the same table) and I want to pass that object set around between controller actions. So I have couple of solutions but is wage about which way to choose. Simpler but uglier solution is to sa...

Displaying Posts by number of "vote" records in separate table

I am new to Rails so go easy. I have created a blog and also created the ability for users to indicate they "like" a particular post. The way I am implementing this is by using the post table and a separate table 'vote'. When the user clicks the "like" button it sends the record to the 'vote' table with a value of '1' and the particular ...

Redirect to new blog using jquery or javascript

I closed my old blog so I redirect our old blog to our new blog but if any user comes from the old blog then he can't watch our video in our blog.. i used <script language="javascript" type="text/javascript"> window.onload = function java() { window.location = "http://anirudhagupta.blogspot.com"; } </script> But he r...

Does Wordpress.com use ONE set of tables for ALL users?

Does wp.com create a new set of tables for each new blog, or are all blog data stored in one set of tables (with a layout like: http://codex.wordpress.org/Database%5FDescription)? Would it ever be a good idea to create a set of tables for each blog in MySQL, or will MySQL be able to handle large numbers of blogs each with their comments...

How do I create a link to a specific Post object in a Rails view?

I am new to rails so excuse any easy questions. I have developed a blog and I am doing some customization. Just curious, if I want to render a specific post on my index.html.erb page is that possible. For instance if I create a post, title: Cool Post and it has a post_id of 25 in the table, in my index page can I call that specific post ...

How do I render all Comments in a Rails view?

I am new to rails so go easy. I have created a blog. I have successfully implemented comments and attached them to each post. Now...I would like to display, in the sidebar, a list of the most recent comments from across all posts. I think there are two things involved here, an update to the comment_controller.rb, and then the call from t...

Changing Index Page - Ruby on Rails

I am new to rails so go easy. I have developed my blog and deployed it successfully. The entire app is based out of the post_controller. I am wondering how I can reroute the users path to default to the post_controller vs. the app controller. To illustrate, if you go to http://mylifebattlecry.heroku.com you will see the default rails p...

PHP Comment Code Help

Hi guys! I'm in the process of coding my very first blog. With the help of various tutorials, and other forums I have managed to gather a semi-working code. Right now I have a code that takes and displays the comment, but the problem is coordinating which comments go on which post. My current set up is all my post are HTML files, and t...

What PHP Blogging Software Should I Choose

I am thinking of starting a blog, which I would like integrated into my existing website. I come back empty handed from googling for a comparison of blogging software written in PHP. My requirements: Simple but not rudimentary (not a result of a 15 minute CodeIgniter tutorial) Quality source code (I'd like to be able to learn from it ...