cuốn sách gpt4 ai đã làm

javascript - 使用 google feed api 显示 PubMed RSS feed

In lại Tác giả: Walker 123 更新时间:2023-11-28 02:45:28 28 4
mua khóa gpt4 Nike

我正在尝试使用 Google feeds 将 RSS feed 添加到我的网站。问题是它限制了条目的数量。我只看到 4 个条目,但当我 curl RSS 时,我看到 28 个条目。我怎样才能让它加载其余的条目。



和 html

Loading...

câu trả lời hay nhất

您可以设置要检索的条目数的选项:

feed.setNumEntries(50);

Feed API documentation表示默认值为 4。(查看“设置 feed 条目数”。)

关于javascript - 使用 google feed api 显示 PubMed RSS feed,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/11964264/

28 4 0
Walker 123
Hồ sơ

Tôi là một lập trình viên xuất sắc, rất giỏi!

Nhận phiếu giảm giá taxi Didi miễn phí
Phiếu giảm giá taxi Didi
Chứng chỉ ICP Bắc Kinh số 000000
Hợp tác quảng cáo: 1813099741@qq.com 6ren.com
Xem sitemap của VNExpress