<p>I have a bunch of articles in some what structured format (title, content, source). What's a good way to pick "popular" 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 "popular". How do you measure popularity of a comment?</li>
<li>What does "pick a comment" mean when the articles only contain title, content, and source but no comments? (Or do they?)</li>
<li>What does "a good way" mean? Good for which purpose? What are the criteria for finding the best way of doing this?</li>
<li>When you say "scraping", do you mean screen-scraping a Web page? How is scraping related to the problem?</li>
<li>You say, "some additional scraping that I should do" - 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'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 "popular" something is based on the number of clicks?</p>
<p>It isn't related to Go at all. I'm looking for some ideas on how this can be accomplished. I don't mind moving to a different language if Go can't help me (if there don't exist packages that do parts of what I'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'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
- 请尽量让自己的回复能够对别人有帮助
- 支持 Markdown 格式, **粗体**、~~删除线~~、
`单行代码`
- 支持 @ 本站用户;支持表情(输入 : 提示),见 Emoji cheat sheet
- 图片支持拖拽、截图粘贴等方式上传