What's a way to pick popular articles from a list?

agolangf · · 688 次点击    
这是一个分享于 的资源,其中的信息可能已经有所发展或是发生改变。
<p>I have a bunch of articles in some what structured format (title, content, source). What&#39;s a good way to pick &#34;popular&#34; article from it? What is some additional scraping that I should do?</p> <hr/>**评论:**<br/><br/>ChristophBerger: <pre><p>Can you provide some more details about your requirement?<br/> For example,</p> <ul> <li>Define &#34;popular&#34;. How do you measure popularity of a comment?</li> <li>What does &#34;pick a comment&#34; mean when the articles only contain title, content, and source but no comments? (Or do they?)</li> <li>What does &#34;a good way&#34; mean? Good for which purpose? What are the criteria for finding the best way of doing this?</li> <li>When you say &#34;scraping&#34;, do you mean screen-scraping a Web page? How is scraping related to the problem?</li> <li>You say, &#34;some additional scraping that I should do&#34; - In addition to what? </li> <li>How is this related to Go? Can you point us to some code that you are currently struggling with? A code snippet shared via play.golang.org perhaps? (Shortened down to show the problem as concisely as possible.)</li> </ul> <p>This would help a lot.</p></pre>bourbondog: <pre><p>By popular, I mean the way sites like Flipboard, Facebook, etc decide what to show to users. I don&#39;t have a metric in mind - any suggestions would be helpful.</p> <p>Scraping is text based. Like I mentioned, I have the title, content and link. Can I use something like Bitly to estimate how &#34;popular&#34; something is based on the number of clicks?</p> <p>It isn&#39;t related to Go at all. I&#39;m looking for some ideas on how this can be accomplished. I don&#39;t mind moving to a different language if Go can&#39;t help me (if there don&#39;t exist packages that do parts of what I&#39;m looking for).</p></pre>ChristophBerger: <pre><p>If it is not related to Go, you might want to try a more suitable subreddit for your issue. (Something related to online marketing perhaps, as the things you ask seem typical marketing questions.) You seem to be in a very early phase of your project where you still need to identify the concepts to use. Decide about the appropriate programming language later.</p></pre>bourbondog: <pre><p>Yeah.. Any help on the concepts to use? I&#39;ll post on other forums too</p></pre>ChristophBerger: <pre><p>Sorry, I have no answers here. I never dealt with these things. I just thougt that your issue might boil down to a specific Go question...</p></pre>

入群交流(和以上内容无关):加入Go大咖交流群,或添加微信:liuxiaoyan-s 备注:入群;或加QQ群:692541889

688 次点击  
加入收藏 微博
0 回复
暂无回复
添加一条新回复 (您需要 登录 后才能回复 没有账号 ?)
  • 请尽量让自己的回复能够对别人有帮助
  • 支持 Markdown 格式, **粗体**、~~删除线~~、`单行代码`
  • 支持 @ 本站用户;支持表情(输入 : 提示),见 Emoji cheat sheet
  • 图片支持拖拽、截图粘贴等方式上传