jnaqsh / nerdnews Goto Github PK
View Code? Open in Web Editor NEWA free and open source social news website focusing on computer science and FOSS news for Persian community
Home Page: http://nerdnews.ir/
A free and open source social news website focusing on computer science and FOSS news for Persian community
Home Page: http://nerdnews.ir/
we have to write documentation for our API
Due to user request, It will be added a sharing icon for sending mail to another person
Using Sync gem to provide live actions?
An option must be added for users that doesn't want to view his/her email
for a better view and better readability, it would be better to have markdown or any lightweight markup language to enrich the comment :)
When someone sends a message, needs a reply button to reply :)
show count of unpublished stories in profile menu
show a mini profile while hovering on a user name
Textile format for comment_reply and message_notify in user mailer view.
for example, if i post a comment, the notification would appear in top of the story where i can't see it right away. it would be better to show notification using javascript popups where i can easily see or notice it
We have to change all actions in nerdnews to be event base.
This approach could be implement by ActionController::Live module or something else.
Show first ten comments in our feed and a link to the comment page.
In next version, It will take back comment/story delete permission from approved user
User can vote twice in this special situation:
I pressed the Green Vote Button once, and select one of the options.
Then, my browser started to load. It took a little while.
Before it loads the page again, I pressed the green button again and select another option.
Now two votes are registered!
Take a look at this link, and see that I voted twice under the "آیدین غریبنواز" ID.
It's better not to rely on the UI (Disabled vote buttons). Server should check for duplication individually.
Existence of Persian characters in URL, not only make it difficult to link the stories, but even makes the link doesn't work at all in some websites like twitter, so the sharing button is uselesss.
I think it is a good idea to map Persian characters with English one, Generate a URL for stories by the time and time of creation or some thing like that and not the title, or in the "!gsh"est way, convert the URL by a URL shortener before sharing on twitter
It's a good idea to make better support for IE
In tagging, we need a feature to sort story tags by javascript and ajax request.
I had the feeling that the font size is somehow big! In response to our older friends, those with glasses, a good idea ... but offering an option to customize the size, a bar like functionality, which also stores the preferences of each, give visitors more liberty in design.
We have to remove nerdnews brand from the project and make it variable for selling the project.
An identica share button would be welcome by everyone!
Add a 'Hot news' tab in our first page
create a link on avatar to link gravatar.com
the "dislike" button could be use by some users (haters) to abuse other users and their opinion. (this is happening everyday in reddit, narenji, ....)
if you like something, push the "like" button and share your positive feelings.
BUT if you dont like it, well... just ignore it! (like facebook)
hamed tells me the "dislike" button is usefull for specifying "spam posts". well, i dont see that case, because every incoming post will be reviewed.
in order to avoid duplicated/multiple-sent comments, it would be better to disable send comment button when it's already trying to send it.
also, it would be better to keep comment's [and even stories] text as digest and then consider this digests unique for at-least 10 minutes. this way, accidentally duplicated comments/stories would never be stored.
Page gap pagination is in wrong position.
In windows I can't see star icon or ...
in:
After we choose to preview our new post, the captcha part become invisible and when we want to submit post, we receive invalid captcha error and have to submit captcha again.
i think the title is self commentary
User who wrote a story must have permission to edit his/her stories
user can't undo when they make tag as favorite .
We have to find a way to not count spam comments in the stories. For example in the below story we have 3 spam comment and we count them:
http://nerdnews.ir/stories/%D9%BE%D8%B4%D8%AA%DB%8C%D8%A8%D8%A7%D9%86%DB%8C-%D9%81%D8%B1%D9%85%E2%80%8C%D9%87%D8%A7%DB%8C-%D9%84%DB%8C%D8%A8%D8%B1-%D8%A2%D9%81%DB%8C%D8%B3-%D8%A7%D8%B2-%D8%B2%D8%A8%D8%A7%D9%86-%D9%81%D8%A7%D8%B1%D8%B3%DB%8C-%D8%AF%D8%B1-%D9%86%D8%B3%D8%AE%D9%87-%DB%B4-%DB%B1
it would be cool to have the ability to post a comment for a story on the main/new_stories page, specially for stories that have no comment yet.
Add UIs to simplify showing ads in website
as previously mentioned here http://bit.ly/Y3hJD8, it is necessary to have URL existence validation. if you think it will cause some sort of annoying delay, you can simply put it in view (and run it on client side) using javascript.
IMPORTANT: when the news will be briefly available by the supplied referenced link, it is vital to check if it's a valid one before sending stories.
a snippet-code/guide for developers:
$('story[source]').on('blur', function({
news_resource_url = $(this).attr('value');
//~ you can first check for the URL validation Regex Here
if(url_validation_check(news_resource_url)){
//~ and when if it has a Valid URL schema, check for url HTTP response
$.ajax({ type: 'head', url: news_resource_url,
success: function() {
// URL exists
$('story[source]').parent().parent().removeClass('error');
}, error: function() {
// page does not exist
$('story[source]').parent().parent().addClass('error');
}
});
}else{
//~ url is not valid, do something
$('story[source]').parent().parent().addClass('error');
}
});
function url_validation_check(url){
# this function is a slightly modification of this one: http://bit.ly/14IJ4h0
return /((https?|ftp):\/\/(\w+:{0,1}\w*@)?(\S+)|)(:[0-9]+)?(\/|\/([\w#!:.?+=&%@!-\/]))?/.test(url);
}
Implement some caching method like Page caching for better performance
adds view count in showing stories
We have to cleanup stories before publish and put a link or something else in somewhere for informing people that you're writing wrong and we should point them to a correct place to learn how to write correctly, like wikipedia.
It could be good add ajax response for comment creation
After submitting a news, while it waits for acceptance from admins, there's no way to view or edit submitted post. it just vanished!
I suggest you add it somewhere in my profile. so I can know about it's existence and even what happened to it (if it rejected/accepted)
it would be better to have invitation mechanism built-in to invite friends.
now this invitation can contain brief but useful information about the service they've got invited.
We have to manage Spam comments in a way for detecting false positive.
It is a good idea to add a counter for characters when someone types a story like twitter. But we should beware that links should not be count or maybe have a constant long.
create a page for recent comments
Add a refresh button or auto-refresh in given intervals.
NerdNews should check for Valid URL Request Response before posting the story. obviously post stories only, if the referenced link has HTTP Response 200.
سلام خسته نباشید بچه ها :)
در مورد بخش دیدگاهها دو تا مسئله هست.
اوّل اینکه برای خبر «انتشار رسمی Valve برای لینوکس» نشون می ده یک دیدگاه وجود داره ولی چیزی نشون نمیده و در زیر می نویسه «هیچ دیدگاهی وجود ندارد. »
دوّم اینکه می خواستم نظری ارسال کنم (برای همین خبر) ولی با خطای :
We're sorry, but something went wrong.
مواجه شدم.
البته نه ثبت نام کردم و نه وارد شدم !!
In the sign up form, giving name and family name is asked but some users entered their nickname , it is good to have another field for asking nickname and also an option for choosing whether the nickname be shown in news or complete name .
We have to implement Omniauth or something else for handing authentication in API base apps. This is just an idea and maybe we'll need another thing for doing this approach.
when the full story is available on RSS feed, why should it be pointing to the same story?
i know it's good for leaving comments BUT the real referenced link should be available in RSS feed as well [maybe as a link at the bottom of the story at least].
این فونت توی ویندوز به خوبی نمایش داده نمیشود.
اینجا را ببینید
http://writeweb.ir/1390/03/iraniansans-gooder-style/
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.