Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add fastcompany custom parser #191

Merged
merged 13 commits into from
Jan 30, 2019
Merged

Conversation

WajeehZantout
Copy link
Contributor

This PR adds a custom parser for fastcompany.com.

@adampash adampash force-pushed the feat-fastcompany-parser branch from 53d11ca to e98d88b Compare January 14, 2019 19:20
@adampash adampash force-pushed the feat-fastcompany-parser branch from e98d88b to 68d0b45 Compare January 14, 2019 19:34
@postlight postlight deleted a comment from postlight-org Jan 14, 2019
@postlight-org
Copy link
Collaborator

postlight-org commented Jan 14, 2019

🤖 Automated Parsing Preview 🤖

Commit: fix: test for date_published

Screenshot of fixture (this embed should work after repo is public)

Original Article | HTML Fixture | Parsed Content Preview

Parsed JSON
{
  "title": "The Only Five Email Folders Your Inbox Will Ever Need",
  "content": "<div><article class=\"post__article \"><div><p>For years, my approach to email was like slaying a hydra. For every email I deleted, two more landed in my inbox.</p></div><div><p>Part of the problem, I knew, was the nature of my work. My team stands between two major organizations within my company, making collaboration crucial, however inefficient it was in practice. So not only did I put up with this mess, I was actually complicit in letting it worsen. I saved everything. I thought most messages addressed directly to me needed my response. I was wrong.</p><p>Looking back, I didn&#x2019;t have the discipline and discernment to really manage my email habits. The system I use now isn&#x2019;t a product of my own invention. My best friend works for a major consulting firm, and I was grateful when he sketched out the rough strategy his firm shares with consultants to help them manage their own unruly inboxes. The technique comes with all the beauty and simplicity you&#x2019;d expect from a firm charging seven figures per engagement&#x2013;and it relies on a folder system you can tally on one hand.</p><h4><a>Ditch Subjects For Deadlines</a></h4><p>The biggest mistake, in my experience, is creating folders based on topics. Emails, like meetings, rarely stay on track.</p><figure class=\"inline-large inline inline column-container\">\n<div class=\"image-wrapper\"><img alt=\"\" width=\"511\" class=\"lazyload\" src=\"https://images.fastcompany.net/image/upload/w_596,c_limit,q_auto:best,f_auto/fc/3067012-inline-i-the-only-five-email-folders-your-inbox-will-ever-need.jpg\"></div>\n<div class=\"caption-wrapper\"><figcaption>My newly streamlined, uncluttered inbox has a grand total of five folders.</figcaption></div>\n</figure><p>Where do you file an important update that covers two unrelated projects? What do you do with that same email if it requires a response?</p><p>The second mistake I&#x2019;ve seen, and personally committed, is trying to use an inbox as a to-do list. There simply aren&#x2019;t enough hours in the workday to respond to the emails that pile up there. Over time, precisely <em>because</em> of the way I was &#x201C;organizing&#x201D; my inbox, emails that I should&#x2019;ve responded to got pushed further and further down, and were eventually forgotten.</p><p>The system that saved my sanity requires only five folders:</p></div><div><ol>\n<li><span><strong>Inbox:</strong> the inbox is a holding pen. Emails shouldn&#x2019;t stay here any longer than it takes for you to file them into another folder. The exception to this rule is when you respond <em>immediately</em> and are waiting for an <em>immediate</em> response.</span></li>\n<li><span><strong>Today:</strong> Everything that requires a response today.</span></li>\n<li><span><strong>This Week:</strong> Everything that requires a response before the end of the week.</span></li>\n<li><span><strong>This Month/Quarter:</strong> &#x2013; Everything that needs a longer-term response. Depending on your role, you many need a monthly folder. Others can operate on a quarterly basis.</span></li>\n<li><span><strong>FYI:</strong> Most items I receive are informational. If I think I may need to reference an email again, I&#x2019;ll save it to this folder.</span></li>\n</ol><h4><a>Show No Mercy</a></h4><p>Email will quickly become your master if you don&#x2019;t take charge. So once you embrace this system, you need to adhere to it mercilessly&#x2013;there are no half measures. We tend to get more lax about newly adopted habits as their newness rubs off. But I&#x2019;ve actually gotten better over time at sticking to my five-folder rule. I&#x2019;m ruthless about deleting emails that don&#x2019;t require my attention. Here are five tips that make the system more effective.</p><aside class=\"pullquote\"><q>Don&#x2019;t confuse having an opinion with leadership, or mounting email volume with weightier job duties.</q></aside><p>First, I <a href=\"https://www.fastcompany.com/3062946/your-most-productive-self/this-100-year-old-to-do-list-hack-still-works-like-a-charm\">keep an actual to-do list</a>. Occasionally I&#x2019;ll add items to that list based on the content of an email that <em>didn&#x2019;t</em> require a response. For example, if an email thread results in deciding that we need to schedule a meeting, I&#x2019;ll make a note to prep my boss with some information from those emails&#x2013;but I&#x2019;ll delete them once I&#x2019;ve finished that prep session.</p><p>Second, don&#x2019;t exaggerate your own importance. Too many people want to have a say in too many things. We all have leadership aspirations&#x2013;and that&#x2019;s generally a good thing. One way to grow your influence is indeed by taking on more responsibility. But don&#x2019;t confuse having an opinion with leadership, or mounting email volume with weightier job duties. If you don&#x2019;t need to respond, put it in the &#x201C;FYI&#x201D; folder or delete it&#x2013;it&#x2019;s one or the other. And if you stay on &#x201C;cc,&#x201D; you&#x2019;ll get the latest thread when everyone responds, so there&#x2019;s no need to worry.</p><p>Third, don&#x2019;t exaggerate the importance of others. A lot of people <em>want</em> responses today. I&#x2019;m one of them. But I&#x2019;ve learned that I don&#x2019;t always <em>need</em> or <em>deserve</em> a response today. This is especially true if you have obligations that directly impact customers or your company&#x2019;s financial health. Don&#x2019;t put emails in the &#x201C;Today&#x201D; folder that don&#x2019;t belong there; if it&#x2019;s in the &#x201C;Today&#x201D; folder you <em>have</em> to respond to it that day, no exceptions.</p><p>My rule is simple: If my wife asked me to come home early and I was willing to leave emails in the &#x201C;Today&#x201D; folder, that doesn&#x2019;t mean I need to blast through them once I get home&#x2013;it means those emails didn&#x2019;t belong in that folder to begin with. I try and limit &#x201C;Today&#x201D; emails to messages involving customers, my boss, and urgent projects.</p></div><div><aside class=\"pullquote pull-right\"><q>If your work is project-based, you can create this five-folder system for each project.</q></aside><p>Fourth, you can work out of multiple folders simultaneously. Try to keep the &#x201C;Today&#x201D; folder small, for obvious reasons. If it&#x2019;s empty and you&#x2019;ve got time to address longer-term emails, dive into the &#x201C;This Week&#x201D; folder. I typically spend my Friday mornings doing &#x201C;This Week&#x201D; emails. If I don&#x2019;t have all the information I need, I may begin my response but save it as a draft, and hold off sending it until I&#x2019;m all squared away.</p><p>Finally, if your work is project-based, you can create this five-folder system for each project. You may have two or three projects running at a time, and technically wind up with 10 to 15 total folders as a result&#x2013;but the system still holds. After the project is complete, archive the entire structure.</p><p>Like every new work habit, and especially those involving personal organization, this one may feel unnatural at first. I found it needed some getting used to. Soon after I switched to this method, I was still stressed out because I felt like I was missing something. In reality, though, everything was completed, and I gradually began to see that. It turned out that I&#x2019;d gotten used to feeling the burden of email and was confusing it with productivity. Armed with just five folders, those days are over.</p><p><em><a href=\"https://www.linkedin.com/in/zhanlon\">Zach Hanlon</a> is a marketing and sales expert who has worked with IBM, Oracle, and other businesses to improve their e-commerce and customer experience operations. Follow him on Twitter at <a href=\"https://twitter.com/zshanlon\">@zshanlon</a>.</em></p></div><div></div></article></div>",
  "author": "Zach Hanlon",
  "date_published": "2017-01-09T05:00:00.000Z",
  "lead_image_url": "https://images.fastcompany.net/image/upload/w_1280,f_auto,q_auto,fl_lossy/fc/3067012-poster-p-1-the-only-five-email-folders-your-inbox-will-ever-need.jpg",
  "dek": "Stop “organizing” your emails by subject and start thinking of them in terms of deadlines.",
  "next_page_url": null,
  "url": "https://www.fastcompany.com/3067012/the-only-five-email-folders-your-inbox-will-ever-need",
  "domain": "www.fastcompany.com",
  "word_count": 1,
  "direction": "ltr",
  "total_pages": 1,
  "rendered_pages": 1
}

null fields

  • next_page_url

Copy link
Contributor

@adampash adampash left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@WajeehZantout This looks good! The one thing I might look into doing is transform the divs for images and captions into figures/captions. See, e.g., how the NPR parser does it:

    transforms: {
      '.bucketwrap.image': 'figure',
      '.bucketwrap.image .credit-caption': 'figcaption',
    },

@WajeehZantout WajeehZantout removed their assignment Jan 15, 2019
@WajeehZantout
Copy link
Contributor Author

WajeehZantout commented Jan 15, 2019

@adampash I noticed that the image and the caption are already wrapped by figure/figcaption tags. Did you mean to remove the wrapper divs for image/caption?

<figure class="inline-large inline inline column-container">
  <div class="image-wrapper">
    <img
      width="511"
      class="lazyload"
      src="https://images.fastcompany.net/image/upload/w_596,c_limit,q_auto:best,f_auto/fc/3067012-inline-i-the-only-five-email-folders-your-inbox-will-ever-need.jpg"
    />
  </div>
  <div class="caption-wrapper">
    <figcaption>
      My newly streamlined, uncluttered inbox has a grand total of
      five folders.
    </figcaption>
  </div>
</figure>

@WajeehZantout WajeehZantout self-assigned this Jan 15, 2019
@adampash
Copy link
Contributor

@WajeehZantout Oh, no, I'm sorry, I think that's prob totally fine. I completely missed that when I was looking at the source.

Copy link
Contributor

@adampash adampash left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@postlight-org
Copy link
Collaborator

🤖 Automated Parsing Preview 🤖

Commit: Merge branch 'master' into feat-fastcompany-parser

Screenshot of fixture (this embed should work after repo is public)

Original Article | HTML Fixture | Parsed Content Preview

Parsed JSON
{
  "title": "The Only Five Email Folders Your Inbox Will Ever Need",
  "content": "<div><article class=\"post__article \"><div><p>For years, my approach to email was like slaying a hydra. For every email I deleted, two more landed in my inbox.</p></div><div><p>Part of the problem, I knew, was the nature of my work. My team stands between two major organizations within my company, making collaboration crucial, however inefficient it was in practice. So not only did I put up with this mess, I was actually complicit in letting it worsen. I saved everything. I thought most messages addressed directly to me needed my response. I was wrong.</p><p>Looking back, I didn&#x2019;t have the discipline and discernment to really manage my email habits. The system I use now isn&#x2019;t a product of my own invention. My best friend works for a major consulting firm, and I was grateful when he sketched out the rough strategy his firm shares with consultants to help them manage their own unruly inboxes. The technique comes with all the beauty and simplicity you&#x2019;d expect from a firm charging seven figures per engagement&#x2013;and it relies on a folder system you can tally on one hand.</p><h4><a>Ditch Subjects For Deadlines</a></h4><p>The biggest mistake, in my experience, is creating folders based on topics. Emails, like meetings, rarely stay on track.</p><figure class=\"inline-large inline inline column-container\">\n<div class=\"image-wrapper\"><img alt=\"\" width=\"511\" class=\"lazyload\" src=\"https://images.fastcompany.net/image/upload/w_596,c_limit,q_auto:best,f_auto/fc/3067012-inline-i-the-only-five-email-folders-your-inbox-will-ever-need.jpg\"></div>\n<div class=\"caption-wrapper\"><figcaption>My newly streamlined, uncluttered inbox has a grand total of five folders.</figcaption></div>\n</figure><p>Where do you file an important update that covers two unrelated projects? What do you do with that same email if it requires a response?</p><p>The second mistake I&#x2019;ve seen, and personally committed, is trying to use an inbox as a to-do list. There simply aren&#x2019;t enough hours in the workday to respond to the emails that pile up there. Over time, precisely <em>because</em> of the way I was &#x201C;organizing&#x201D; my inbox, emails that I should&#x2019;ve responded to got pushed further and further down, and were eventually forgotten.</p><p>The system that saved my sanity requires only five folders:</p></div><div><ol>\n<li><span><strong>Inbox:</strong> the inbox is a holding pen. Emails shouldn&#x2019;t stay here any longer than it takes for you to file them into another folder. The exception to this rule is when you respond <em>immediately</em> and are waiting for an <em>immediate</em> response.</span></li>\n<li><span><strong>Today:</strong> Everything that requires a response today.</span></li>\n<li><span><strong>This Week:</strong> Everything that requires a response before the end of the week.</span></li>\n<li><span><strong>This Month/Quarter:</strong> &#x2013; Everything that needs a longer-term response. Depending on your role, you many need a monthly folder. Others can operate on a quarterly basis.</span></li>\n<li><span><strong>FYI:</strong> Most items I receive are informational. If I think I may need to reference an email again, I&#x2019;ll save it to this folder.</span></li>\n</ol><h4><a>Show No Mercy</a></h4><p>Email will quickly become your master if you don&#x2019;t take charge. So once you embrace this system, you need to adhere to it mercilessly&#x2013;there are no half measures. We tend to get more lax about newly adopted habits as their newness rubs off. But I&#x2019;ve actually gotten better over time at sticking to my five-folder rule. I&#x2019;m ruthless about deleting emails that don&#x2019;t require my attention. Here are five tips that make the system more effective.</p><aside class=\"pullquote\"><q>Don&#x2019;t confuse having an opinion with leadership, or mounting email volume with weightier job duties.</q></aside><p>First, I <a href=\"https://www.fastcompany.com/3062946/your-most-productive-self/this-100-year-old-to-do-list-hack-still-works-like-a-charm\">keep an actual to-do list</a>. Occasionally I&#x2019;ll add items to that list based on the content of an email that <em>didn&#x2019;t</em> require a response. For example, if an email thread results in deciding that we need to schedule a meeting, I&#x2019;ll make a note to prep my boss with some information from those emails&#x2013;but I&#x2019;ll delete them once I&#x2019;ve finished that prep session.</p><p>Second, don&#x2019;t exaggerate your own importance. Too many people want to have a say in too many things. We all have leadership aspirations&#x2013;and that&#x2019;s generally a good thing. One way to grow your influence is indeed by taking on more responsibility. But don&#x2019;t confuse having an opinion with leadership, or mounting email volume with weightier job duties. If you don&#x2019;t need to respond, put it in the &#x201C;FYI&#x201D; folder or delete it&#x2013;it&#x2019;s one or the other. And if you stay on &#x201C;cc,&#x201D; you&#x2019;ll get the latest thread when everyone responds, so there&#x2019;s no need to worry.</p><p>Third, don&#x2019;t exaggerate the importance of others. A lot of people <em>want</em> responses today. I&#x2019;m one of them. But I&#x2019;ve learned that I don&#x2019;t always <em>need</em> or <em>deserve</em> a response today. This is especially true if you have obligations that directly impact customers or your company&#x2019;s financial health. Don&#x2019;t put emails in the &#x201C;Today&#x201D; folder that don&#x2019;t belong there; if it&#x2019;s in the &#x201C;Today&#x201D; folder you <em>have</em> to respond to it that day, no exceptions.</p><p>My rule is simple: If my wife asked me to come home early and I was willing to leave emails in the &#x201C;Today&#x201D; folder, that doesn&#x2019;t mean I need to blast through them once I get home&#x2013;it means those emails didn&#x2019;t belong in that folder to begin with. I try and limit &#x201C;Today&#x201D; emails to messages involving customers, my boss, and urgent projects.</p></div><div><aside class=\"pullquote pull-right\"><q>If your work is project-based, you can create this five-folder system for each project.</q></aside><p>Fourth, you can work out of multiple folders simultaneously. Try to keep the &#x201C;Today&#x201D; folder small, for obvious reasons. If it&#x2019;s empty and you&#x2019;ve got time to address longer-term emails, dive into the &#x201C;This Week&#x201D; folder. I typically spend my Friday mornings doing &#x201C;This Week&#x201D; emails. If I don&#x2019;t have all the information I need, I may begin my response but save it as a draft, and hold off sending it until I&#x2019;m all squared away.</p><p>Finally, if your work is project-based, you can create this five-folder system for each project. You may have two or three projects running at a time, and technically wind up with 10 to 15 total folders as a result&#x2013;but the system still holds. After the project is complete, archive the entire structure.</p><p>Like every new work habit, and especially those involving personal organization, this one may feel unnatural at first. I found it needed some getting used to. Soon after I switched to this method, I was still stressed out because I felt like I was missing something. In reality, though, everything was completed, and I gradually began to see that. It turned out that I&#x2019;d gotten used to feeling the burden of email and was confusing it with productivity. Armed with just five folders, those days are over.</p><p><em><a href=\"https://www.linkedin.com/in/zhanlon\">Zach Hanlon</a> is a marketing and sales expert who has worked with IBM, Oracle, and other businesses to improve their e-commerce and customer experience operations. Follow him on Twitter at <a href=\"https://twitter.com/zshanlon\">@zshanlon</a>.</em></p></div><div></div></article></div>",
  "author": "Zach Hanlon",
  "date_published": "2017-01-09T05:00:00.000Z",
  "lead_image_url": "https://images.fastcompany.net/image/upload/w_1280,f_auto,q_auto,fl_lossy/fc/3067012-poster-p-1-the-only-five-email-folders-your-inbox-will-ever-need.jpg",
  "dek": "Stop “organizing” your emails by subject and start thinking of them in terms of deadlines.",
  "next_page_url": null,
  "url": "https://www.fastcompany.com/3067012/the-only-five-email-folders-your-inbox-will-ever-need",
  "domain": "www.fastcompany.com",
  "word_count": 1,
  "direction": "ltr",
  "total_pages": 1,
  "rendered_pages": 1
}

null fields

  • next_page_url

✅ All tests passed

@postlight-org
Copy link
Collaborator

🤖 Automated Parsing Preview 🤖

Commit: Merge branch 'master' into feat-fastcompany-parser

Screenshot of fixture (this embed should work after repo is public)

Original Article | HTML Fixture | Parsed Content Preview

Parsed JSON
{
  "title": "The Only Five Email Folders Your Inbox Will Ever Need",
  "content": "<div><article class=\"post__article \"><div><p>For years, my approach to email was like slaying a hydra. For every email I deleted, two more landed in my inbox.</p></div><div><p>Part of the problem, I knew, was the nature of my work. My team stands between two major organizations within my company, making collaboration crucial, however inefficient it was in practice. So not only did I put up with this mess, I was actually complicit in letting it worsen. I saved everything. I thought most messages addressed directly to me needed my response. I was wrong.</p><p>Looking back, I didn&#x2019;t have the discipline and discernment to really manage my email habits. The system I use now isn&#x2019;t a product of my own invention. My best friend works for a major consulting firm, and I was grateful when he sketched out the rough strategy his firm shares with consultants to help them manage their own unruly inboxes. The technique comes with all the beauty and simplicity you&#x2019;d expect from a firm charging seven figures per engagement&#x2013;and it relies on a folder system you can tally on one hand.</p><h4><a>Ditch Subjects For Deadlines</a></h4><p>The biggest mistake, in my experience, is creating folders based on topics. Emails, like meetings, rarely stay on track.</p><figure class=\"inline-large inline inline column-container\">\n<div class=\"image-wrapper\"><img alt=\"\" width=\"511\" class=\"lazyload\" src=\"https://images.fastcompany.net/image/upload/w_596,c_limit,q_auto:best,f_auto/fc/3067012-inline-i-the-only-five-email-folders-your-inbox-will-ever-need.jpg\"></div>\n<div class=\"caption-wrapper\"><figcaption>My newly streamlined, uncluttered inbox has a grand total of five folders.</figcaption></div>\n</figure><p>Where do you file an important update that covers two unrelated projects? What do you do with that same email if it requires a response?</p><p>The second mistake I&#x2019;ve seen, and personally committed, is trying to use an inbox as a to-do list. There simply aren&#x2019;t enough hours in the workday to respond to the emails that pile up there. Over time, precisely <em>because</em> of the way I was &#x201C;organizing&#x201D; my inbox, emails that I should&#x2019;ve responded to got pushed further and further down, and were eventually forgotten.</p><p>The system that saved my sanity requires only five folders:</p></div><div><ol>\n<li><span><strong>Inbox:</strong> the inbox is a holding pen. Emails shouldn&#x2019;t stay here any longer than it takes for you to file them into another folder. The exception to this rule is when you respond <em>immediately</em> and are waiting for an <em>immediate</em> response.</span></li>\n<li><span><strong>Today:</strong> Everything that requires a response today.</span></li>\n<li><span><strong>This Week:</strong> Everything that requires a response before the end of the week.</span></li>\n<li><span><strong>This Month/Quarter:</strong> &#x2013; Everything that needs a longer-term response. Depending on your role, you many need a monthly folder. Others can operate on a quarterly basis.</span></li>\n<li><span><strong>FYI:</strong> Most items I receive are informational. If I think I may need to reference an email again, I&#x2019;ll save it to this folder.</span></li>\n</ol><h4><a>Show No Mercy</a></h4><p>Email will quickly become your master if you don&#x2019;t take charge. So once you embrace this system, you need to adhere to it mercilessly&#x2013;there are no half measures. We tend to get more lax about newly adopted habits as their newness rubs off. But I&#x2019;ve actually gotten better over time at sticking to my five-folder rule. I&#x2019;m ruthless about deleting emails that don&#x2019;t require my attention. Here are five tips that make the system more effective.</p><aside class=\"pullquote\"><q>Don&#x2019;t confuse having an opinion with leadership, or mounting email volume with weightier job duties.</q></aside><p>First, I <a href=\"https://www.fastcompany.com/3062946/your-most-productive-self/this-100-year-old-to-do-list-hack-still-works-like-a-charm\">keep an actual to-do list</a>. Occasionally I&#x2019;ll add items to that list based on the content of an email that <em>didn&#x2019;t</em> require a response. For example, if an email thread results in deciding that we need to schedule a meeting, I&#x2019;ll make a note to prep my boss with some information from those emails&#x2013;but I&#x2019;ll delete them once I&#x2019;ve finished that prep session.</p><p>Second, don&#x2019;t exaggerate your own importance. Too many people want to have a say in too many things. We all have leadership aspirations&#x2013;and that&#x2019;s generally a good thing. One way to grow your influence is indeed by taking on more responsibility. But don&#x2019;t confuse having an opinion with leadership, or mounting email volume with weightier job duties. If you don&#x2019;t need to respond, put it in the &#x201C;FYI&#x201D; folder or delete it&#x2013;it&#x2019;s one or the other. And if you stay on &#x201C;cc,&#x201D; you&#x2019;ll get the latest thread when everyone responds, so there&#x2019;s no need to worry.</p><p>Third, don&#x2019;t exaggerate the importance of others. A lot of people <em>want</em> responses today. I&#x2019;m one of them. But I&#x2019;ve learned that I don&#x2019;t always <em>need</em> or <em>deserve</em> a response today. This is especially true if you have obligations that directly impact customers or your company&#x2019;s financial health. Don&#x2019;t put emails in the &#x201C;Today&#x201D; folder that don&#x2019;t belong there; if it&#x2019;s in the &#x201C;Today&#x201D; folder you <em>have</em> to respond to it that day, no exceptions.</p><p>My rule is simple: If my wife asked me to come home early and I was willing to leave emails in the &#x201C;Today&#x201D; folder, that doesn&#x2019;t mean I need to blast through them once I get home&#x2013;it means those emails didn&#x2019;t belong in that folder to begin with. I try and limit &#x201C;Today&#x201D; emails to messages involving customers, my boss, and urgent projects.</p></div><div><aside class=\"pullquote pull-right\"><q>If your work is project-based, you can create this five-folder system for each project.</q></aside><p>Fourth, you can work out of multiple folders simultaneously. Try to keep the &#x201C;Today&#x201D; folder small, for obvious reasons. If it&#x2019;s empty and you&#x2019;ve got time to address longer-term emails, dive into the &#x201C;This Week&#x201D; folder. I typically spend my Friday mornings doing &#x201C;This Week&#x201D; emails. If I don&#x2019;t have all the information I need, I may begin my response but save it as a draft, and hold off sending it until I&#x2019;m all squared away.</p><p>Finally, if your work is project-based, you can create this five-folder system for each project. You may have two or three projects running at a time, and technically wind up with 10 to 15 total folders as a result&#x2013;but the system still holds. After the project is complete, archive the entire structure.</p><p>Like every new work habit, and especially those involving personal organization, this one may feel unnatural at first. I found it needed some getting used to. Soon after I switched to this method, I was still stressed out because I felt like I was missing something. In reality, though, everything was completed, and I gradually began to see that. It turned out that I&#x2019;d gotten used to feeling the burden of email and was confusing it with productivity. Armed with just five folders, those days are over.</p><p><em><a href=\"https://www.linkedin.com/in/zhanlon\">Zach Hanlon</a> is a marketing and sales expert who has worked with IBM, Oracle, and other businesses to improve their e-commerce and customer experience operations. Follow him on Twitter at <a href=\"https://twitter.com/zshanlon\">@zshanlon</a>.</em></p></div><div></div></article></div>",
  "author": "Zach Hanlon",
  "date_published": "2017-01-09T05:00:00.000Z",
  "lead_image_url": "https://images.fastcompany.net/image/upload/w_1280,f_auto,q_auto,fl_lossy/fc/3067012-poster-p-1-the-only-five-email-folders-your-inbox-will-ever-need.jpg",
  "dek": "Stop “organizing” your emails by subject and start thinking of them in terms of deadlines.",
  "next_page_url": null,
  "url": "https://www.fastcompany.com/3067012/the-only-five-email-folders-your-inbox-will-ever-need",
  "domain": "www.fastcompany.com",
  "word_count": 1,
  "direction": "ltr",
  "total_pages": 1,
  "rendered_pages": 1
}

null fields

  • next_page_url

✅ All tests passed

@george-haddad george-haddad merged commit 9b36003 into master Jan 30, 2019
@george-haddad george-haddad deleted the feat-fastcompany-parser branch January 30, 2019 07:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants