9 ms·
Turns websites into Markdown
- lsiunsuex 10y agoI'm all for cursing in private conversation with friends and such when it's appropriate - but why do people continue to think it's acceptable in public examples of work? Will this go on someone's resume like this? What will an employer think? I'm not questioning freedom of speech or self expression or anything like that. I'm simply saying, if you build a tool / live example / whatever and intend to show it to people - you probably should try to keep it professional. As for the actual tool - cool? Markdown is great amongst programmers but ask random internet user what markdown is and they'll look at you like you have 3 heads. I've never understand the use of this outside of programming in things such as content editors or such.
- Brendinooo 10y agoThe author is free to do as he/she wishes, but when I see profanity in the title I'm much less inclined to click on it. I wonder if I'm an anomaly and no one else cares, if other people feel the same way as I do, or if for every person like me, there's someone who is more inclined to click because they saw a swear word?
- ourmandave 10y agoDepends if I'm at work or not.
- kaoD 10y agoI couldn't fucking care less ;) Now seriously, it's probably due to cultural differences. Is profanity that frowned upon on the US (or wherever you're from)? It's surprising how sensitive the US is towards profanity for a country where "fuck" is used extensively in media. I literally didn't think anything about the domain but it's probably because lighthearted profanity is much more pervasive in my culture, where it's used as an emphasis tool (and less for its shocking value in media). We don't censor (beep) swear words on TV either (which BTW seems ridiculous from our point of view). Yes, I'm not going to swear in a professional setting, but I'm not going to think less of someone for their use of words. Words are just words. Swear words don't hurt me any more than non-swear words if they're not meant to hurt anyone. It's a simple "fuck yeah". It's supposed to be an expression of joy. How does that hurt you at all? Why would it make you less inclined to click on it? Genuinely curious. EDIT: Also, regarding that "what if there were 5-year-olds visiting this site" point I've seen elsewhere... In my country everyone swears and children aren't traumatized or anything. As soon as kids are old enough to recognize the subtext they refrain from swearing (in front of adults) themselves. Don't swear in front of toddlers though. They'll repeat it over and over again.
- czep 10y ago> Why would it make you less inclined to click on it? Genuinely curious. It's not that I'm, gasp! offended, by the use of a "dirty word", but rather that this kind of gratuitous swearing seems designed purely to make the website somehow appear "cooler" than it would otherwise be with a simple boring name. Personally, I don't buy it. To me, it simply makes the author appear juvenile, decidedly un-professional, caring more about appearance than substance. It is exactly the kind of childish stunt I would expect from the "brogrammer" crowd. It's fucking embarrassing already!
- kaoD 10y agoAh, I see what you mean. Same thing happens to me when someone tries to be clever with sexual innuendo, it's just cringeworthy. Well, I though the title was trying to be juvenile (and definitely didn't strive for professionalism) on purpose. I took it less seriously than I would've otherwise but not to the point of making me less inclined to click it... I thought that's what the author meant to do, signal that the tool is just a toy/experiment and nothing too serious. We don't have brogrammers around so definitely cultural differences :P
- Brendinooo 10y agoProfanity is a tough issue because it's so cultural. A great example is the word 'suck' - it's pretty well accepted in the vernacular today when expressing 'very bad', but I remember my 8th-grade English teacher (an older lady) talking about how she'd prefer if we didn't use it. It used to have sexual connotations, moreso than it does today. Same deal with my wife's grandmother: that word will get you a glare if you're not talking about what a vacuum cleaner does. So it's a weird feedback loop - if words aren't deemed to be profane, no one thinks twice about them. If words are deemed to be profane, some people will ban them, which makes other people not use them just because they're not supposed to be used. Censorship can actually propagate profanity, in this sense. As language changes, words can become unacceptable (How many Richards are using the common nickname these days? Would you use the three-letter British term for a cigarette anymore?) or acceptable (apparently 'leg' and 'bull' were frowned upon in Victorian times). I'm aware of all this. And, to be honest, I'm not as offended as my comments probably make me out to be. I usually just pass this stuff by, but since someone had already commented I figured I'd chime in as well. For me, there are words that I don't want to say for cultural reasons, so I follow the 'you are what you eat' principle. If I don't saturate myself with language that I don't want to use, I'm less likely to use it. Also, there are often times when I find that stronger language is reflective of attitudes that I don't want to have. So I wouldn't replace 'suck' with 'stink' when I want to express that someone isn't good at something; rather, I'd try to phrase my criticism in a more constructive way.
- BillyParadise 10y agoSure, I'll use it myself, but the name makes it inherently less shareable. To me, at least.
- CJKinni 10y agoIt looks like the creator also created a profanity-free version - [Heck Yes Markdown](heckyesmarkdown.com) [HN Discussion](https://news.ycombinator.com/item?id=12461088 https://news.ycombinator.com/item?id=12461088)
- moron4hire 10y agoOh no! What will an empolyer think!? We must suplicate ourselves before our betters and beg forgiveness. Repent, sinners, repent! Fuck. That. Shit. EDIT: for a site that is focused on startups and entrepreneurship, y'all get really pissy when anyone challenges the employment status quo. When corporate culture can censor how people talk in colloquial ways, ways that are not at all harmful to anyone because words aren't magic, the culture is sick and rotten.
- jeffkeen 10y ago100%. What next? "TRIGGER WARNING: CURSE WORD AHEAD" I just hope he didn't code this while wearing jeans, as those are only permitted on casual Fridays. KEEP IT PROFESSIONAL, HACKERS
- david90 10y agoI only think of the Internet meme when I see the domain name. Well, a name can give you an impression, but I think the site itself matters more.
- GoToRO 10y agoThey did keep it professional. You must be using an old version of Professional. Please upgrade to the latest version as older versions are not supported any more and they suffer of multiple "don't tell me how to live my life" vulnerabilities. :)
- mosselman 10y agoMy first thought was 'cool, but too bad for the childish title'.
- arkitaip 10y agoIf your future employer isn't mature enough to handle you swearing on a project you have done, then that's an employer you should skip.
- Brendinooo 10y agoConversely, plenty of people would contend that refraining from profanity is a mark of maturity.
- executesorder66 10y agoAnd many others will think you are immature if you get butthurt or offended every time someone says a bad word. We are not 5 years old. Deal with it.
- Brendinooo 10y ago1) It's interesting to me that some people here are treating the right to be profane as some kind of moral absolute, in the exact manner that people who are against profanity often do. 2) Can you think of an example where some kind of language is offensive to you but not to someone else? If so, I hope you'd be able to relate to people you disagree with on this issue instead of denigrating them. 3) If a 5-year-old was in this forum, would you be more disapproving of profanity for their sake?
- tokensimian 10y ago1) put another way, people against profanity are trying to control what other individuals say. People into the right to be profane are expressing their freedom to swear. 2) I cannot. I can be offended by things people say, but language itself is not offensive. 3) No, it's not my responsibility to censor myself to support archaic beliefs about other people's children.
- Brendinooo 10y ago1) Interesting. So you unequivocally support people's rights to say anything they want in the public square? Racial or homophobic slurs are okay, anti-climate change rhetoric, all of it? You may very well be consistent in this way, but I think that most people have something they're uncomfortable with other people saying, and while they wouldn't legislate against it, they'd certainly vote with their wallet or attention. 2) Functionally, this seems like a distinction without a difference. If you disagree, please elaborate as I'd like to understand more. 3) In other words, swearing is a moral issue, and your moral code is superior? For what it's worth, I agree with you to a certain extent - people need to learn to not be offended at the slightest thing. Thick skins are good, because controlling how you react to the world around you is generally way better than trying to control the world around you. And you'll hopefully note that I never said that the site should be banned for profanity or something like that - just that I prefer not to visit such a site. I don't think this is a zero-sum game. If I know that someone might be offended by something I say, I can make the choice to modify my rhetoric to accommodate them, or keep my speech the same because I believe that offending someone else is worth what I have to say. How that plays out practically will be different in different situations.
- guessmyname 10y agoAs a non-native English speaker, those are just semi-random words to me unless I give them a context. I guess if you are a native English speaker you will feel more likely to disapprove the words, same if someone decides to buy a domain with bad words in Chinese, French, Spanish, etc if you are Chinese, French, or Spanish speaker respectively. Also, as I understand, "fuck" seems to have different meanings depending on the context.
- nine_k 10y agoNone of the context-dependent meanings are particularly polite.
- Jaruzel 10y ago'FuckYeah' is very common on tumblr for site names i.e. fuckyeahcarebears or fuckyeahlawnmowers. Whenever I see fuckyeah anywhere, I immediately think it's a tumblr user or thing. My bias of course, but I can't be the only one... Also, had I paid more attention to the URL before clicking there's no way I'd have clicked on it whilst at work. I am now waiting for the Office Internet Police to come and have word with me :(
- justinator 10y agoTease. There's no fuckyeahlawnmowers.tumblr.com
- poolpog 10y agoum, check again?
- wastedhours 10y agoWeird that swearing is still seen as taboo - guess it depends on location and sensibilities, but dropped the C word several times in front of my manager and never batted an eyelid. Think the impact tends to be overstated somewhat.
- aethertron 10y agoWhether it's said out loud, or put in writing makes a big difference. If spoken, the speaker can first check to see if the immediate context is appropriate. Then it's just a memory. In writing, like on the web, there's more persistence. Sweary words online can be brought into inappropriate situations later. This can reflect badly on the author, in the eyes of some.
- executesorder66 10y ago> What will an employer think? Makes me think this conversation from a while ago at my work: CIO - It's okay to swear in commit messages. Lead Programmer - Yeah, I'm just deciding between shit and crap.
- majewsky 10y agoIn company-internal commit messages, I wouldn't mind if people swear. But they shouldn't do so in commits to open-source projects, where the whole world might get to see their writings. Unless, of course, they include the obligatory disclaimer that "my swear words are not necessarily those of my employer". :) Frequent open-source involvement is also the reason why I won't ever swear in commit messages. The closest thing is that I put "I'm stupid" as commit message whenever I have to fix up a typo or obvious slip from the previous commit.
- thr0waway1239 10y agoBut...how else can they compensate for the inherent unremarkability of their tool? Besides, they are much cooler people than the rest of us and it is really important that we understand that.
- jackmaney 10y agoI know that this may come as a shock, but the internet wasn't built entirely for five-year-olds.
- justindocanto 10y agoNot everybody has to worry about future employers. Not everybody builds things with mass appeal in mind. Not everybody has to understand the reason for something. Some things are done for ourselves and how we like them, regardless if it has some sort of use case.
- Veen 10y agoI don't think Brett Terpstra really gives a fuck. As for Markdown, I'm a technical and marketing content writer and I use Markdown all day. I use it because it's easy to mark simple document elements like headers and formatting, it can be scripted so, for example, I can grab the URL of my most recent safari tab and use it to create a properly formatted link using the text I have highlighted with a keyboard shortcut, because I can easily export it to HTML, docx, or PDF depending, and because word processors suck for serious writing.
- deleted 10y ago[deleted]
- fenollp 10y agoWhat is the algorithm behind this? Does it attempts to find 2 similar pages of the same website and generate markdown from the diff of their DOM trees?
- troels 10y agoLooks like it runs the page through a readability algorithm. From there, it probably has a pretty straight 1:1 html to markdown mapping.
- diggan 10y agoNo, it's simply a service/tool that converts a html page into markdown. So let's say you have something like this: <h1>Title</h1> <p>Some wordy stuff <a href="example.com">with a link</a> It would convert it into # Title Some wordy stuff [example.com](with a link)
- laurent123456 10y agoFor his own website I'm only getting: [Source](http://fuckyeahmarkdown.com/ "Permalink to Fuck Yeah Markdown") # Fuck Yeah Markdown
- jordanwallwork 10y agoWhy on earth don't people test these things on their own websites to make sure the output is good?? There was another thing on HN the other day (I think it was websites -> word docs or something) and it half-assed it's own homepage. When faced with an address box for something like this where I can enter any url I want my mind always immediately goes blank and I just copy the current address in to see what happens, I'm sure I can't be the only one
- Kiro 10y ago> my mind always immediately goes blank and I just copy the current address in to see what happens, I'm sure I can't be the only one No, I'm exactly the same.
- aethertron 10y agoIt's not meant for that sort of webpage. It's meant for articles, blogs, etc. not apps. Like this site itself. That's probably why they didn't bother to make it work properly on itself.
- Kiro 10y agoFirst thing I tested as well.
- Horba 10y agoI feel validated that my markup must be sane considering a generic utility can parse the html into markdown.
- _nalply 10y agoIt works on Quora articles even with math formulas. I'm going to use this tool to export my own Quora content. Thanks a lot for the pointer!
- _nalply 10y agoExcept for images. I'm going to tell the creator. He said: «If you have a specific page you think should be Markdownifiable, send it to me. I’ll see what I can do.»
- sandGorgon 10y agothis is potentially a big idea. there are hundreds of jobs on upwork "convert my old wordpress site to markdown/jekyll" or "convert my old drupal site to markdown/jekyll". even if you manage to convert a wordpress site to jekyll (with all images, formatting,etc)... you are onto something big. I would pay 20-30$ for a one time conversion of a few dozen pages.
- pmlnr 10y agofor p in *.html; do pandoc -p -f html -t markdown-raw_html-native_divs-native_spans -o"${p/.html/.md}" "${p}"; done
- sandGorgon 10y agonone of these (including the importrb one) is seamless. you have to install ruby, you have to install pandoc..etc what you want is a way where you point to a github account and wordpress site... and 5 minutes later, your github pages are filled with your blog pages . All nicely formatted and with all images.
- oftenwrong 10y agohttp://import.jekyllrb.com/ http://import.jekyllrb.com/
- jordanlev 10y agoOr how about just a "static site" (html files): wget -m -k -K -E -p http://example.com
- bronlund 10y agoBah. It can't even do http://www.arngren.net/ http://www.arngren.net/
- ddmf 10y agoThat makes me think of http://www.lingscars.com/ http://www.lingscars.com/ - which actually marks down ok.
- bronlund 10y ago:D Awesome
- alex_hitchins 10y agoI highly recommend you view source on LingsCards.com.
- AndrewVos 10y agoCool, then you can put them directly into my new app: https://anmo.io https://anmo.io :)
- NavekM 10y agoShame it doesn't convert relative paths in links.
- pmlnr 10y agoPandoc[1] as service? [1]: http://pandoc.org/ http://pandoc.org/
- fiatjaf 10y agoOutput is not good at all for http://fiatjaf.on.flowi.es/ http://fiatjaf.on.flowi.es/, which the simplest HTML I could get.
- emillon 10y agoYou might want to filter local and unroutable URLs, for example entering 127.0.0.1 renders a MAMP Pro page.
- upofadown 10y agoIs this better than pandoc?
- xyzzy4 10y agoWhy do front-end engineers like to use the word "fuck" so much? Just something I've noticed over time.
- akent 10y agoFuck knows.
- leeoniya 10y agoi made this a few years ago: https://github.com/leeoniya/reMarked.js https://github.com/leeoniya/reMarked.js
- tammer 10y agoI want something like that's halfway between links/w3m & readability/reader view - basically a version of readability that's an actual browser. Maybe one day lightweight design will be trendy.
- lj3 10y agoI tried this years ago (it's been around for quite some time) and found better results with his Marker[0] bookmarklet. It only converts whatever is selected on the page. It eliminates 1 out of the 2 issues I had with markdownifier, which is it's inability to figure out what to keep and what not to keep on the page. The second issue I have affects both. Neither locally downloads linked content. Not having the images come down with the article means if the article were to go away, your local copy would be worthless unless you manually saved those pictures and altered the links pointing to them. [0]: http://brettterpstra.com/2013/12/22/marker-web-selections-to-markdown/ http://brettterpstra.com/2013/12/22/marker-web-selections-to...
- VOYD 10y agowhy?
- elejsa 10y agoGet thousands of webcamshow for free. Sign up there http://u.to/Xeg3Dw http://u.to/Xeg3Dw
- stevekemp 10y agoRemember when you're writing applications like this, which accept an URL, you need to filter out `file://` URIs. Otherwise you disclose arbitrary files, like this site does.